On Wednesday, August 13, 2014 9:23:53 PM UTC+1, Ricardo Liyushiro Chikasawa wrote: > > And add in model -> job.rb ,the attribute* attr_accessible :premium* > > Console error : *undefined method `attr_accessible'* > > Can Help me? > > attr_accessible and attr_protected were removed in rails 4. You can get them back with the protected_attributes gem but the recommendation is to use strong parameters instead.
Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3dc6aff9-a50f-4202-99ab-344a7e67909c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

