2010/6/2 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>:
> Anyway, I think you won't be able to include locations to look for users with
> some location, so something like this won't work even with :finder_sql:
> User.all :include => :locations, :conditions => "locations.name LIKE '%my
> home%'"

Finally I've solved it by setting the DB column as case sensitive. But
in order to disallow upcase letters in model validation I have had to
make my own validation function as :case_sensitive => false just works
for "validates_uniqueness".

Thanks.

-- 
Iñaki Baz Castillo
<[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to