Read more

assignable_values 0.9.0 supports virtual attributes

Deleted user #6
April 17, 2014Software engineer

Now you can say:

class Song < ActiveRecord::Base

  attr_accessor :virtual_attribute
  
  assignable_values_for :virtual_attribute do
    %w[air fluff]
  end

end
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot
Posted to makandra dev (2014-04-17 12:11)