Ruby5 #476
Ruby5 - Episode #476 - July 1st, 2014
- fast_attributes
- Fast PORO attributes with fast_attributes
- It supports coercion, custom types, and even has a UUID extension
extend FastAttributes
attribute :title, :name, String
define_attributes initialize: true, attributes: true do
- To generate initialize and attributes methods, attribute definition should be wrapped with define_attributes
- Yt
- Pundit & RSpec
- Pundit has a “Migrating to Pundit from Can Can” article and the migration is pretty straightforward
- active_admin_jcrop
- image-cropping functionality
- carrierwave
- cached fragments opt-out
- cache fingerprints to give your application a Russian doll-like cachability
- Rails 4.1.2 & 4.0.6
- Rails 4.1.2 is the first bug fix release
♫ Pink Floyd - Money
by SoundHound