I found my problem is a library I wrote to turn off mass assignment .
In it I am calling this:

  # override AR method
  def mass_assignment_authorizer
    if accessible == :all
      self.class.protected_attributes
    else
      super + ( accessible || [] )
    end
  end

Mass_assignment_authorizer has a different signature in Rails 3.1 thus
the problem.  By my way of thinking the signature change means that we
should be talking of Rails-4.0.1 instead of Rails-3.1.1. But, then
again, given what has happened to Firefox perhaps not.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to