search for: acts_as_acl

Displaying 2 results from an estimated 2 matches for "acts_as_acl".

2006 Feb 26
5
log in
How to carry out log in, whether that is we enter a login and the password and it is checked is in a database? -- Posted via http://www.ruby-forum.com/.
2009 Jun 17
2
validates_uniqueness_of fails on STI in Rails 2.3.2
I''ve got something like this: class Position < ActiveRecord::Base end class CartItem < Position validates_uniqueness_of :product_id end When I try to save CartItem I get this error: ArgumentError: wrong number of arguments (1 for 2) from /home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/validations.rb:758:in `exists?'' from