I am upgrading my rails application from Rails 3.2.1 to Rails 4.0.0.
has_many :paid_projected_images, :source=> :projected_images, :through => :paid_salon_entries, :readonly=> false
If i remove readonly: false than this association is working fine in rails 4 but if i add readonly to this scope than it is giving me ArgumentError (wrong number of arguments (given 0, expected 1))
any idea??
Aucun commentaire:
Enregistrer un commentaire