TIL, 2017-03-21, Where State Machines are Back
ag
: You can doag boolean db/migrate
, the formula isag PATTERN PATH
.- Boolean columns in Rails have the predicate method available already:
User.email_confirmed?
. - Controller actions – Use
before_action
to ensure you can render out from another method. icomoon
and defining custom icon fonts in Bootstrap.stateful_enum
gem.