search for: credit_rating

Displaying 1 result from an estimated 1 matches for "credit_rating".

2006 May 28
0
[SUMMARY] Rails Core Weekly (May 23 - May 28)
...ttributes params[:shop], {:allow => [:header_color1, :header_color:2]} However Marcel whispers quietly beneath his beard that you can use ActiveRecord#attr_protected ( http://api.rubyonrails.com/classes/ActiveRecord/Base.html#M000873) : class Customer < ActiveRecord::Base attr_protected :credit_rating end but alas this is not what Laszlo had in mind. Tim Lucas closes the thread by providing a wonderful alternative: %w(name email address).each { |f| @person[f] = params[:person][f] } [ http://wrath.rubyonrails.org/pipermail/rails-core/2006-May/001503.html ] Remember how in last RCW we we'&...