On Fri, Jun 19, 2009 at 12:08 PM, Hemant
Bhargava<[email protected]> wrote:
>
> 1) Area.find(:all, :conditions => ['name = lower(?)', area_name.downcase])
>

This really should be working. Check the SQL generated in the log file
and test that directly against your database.
I would then tweak the SQL statement until you find what's working,
then work it back into ActiveRecord

Andrew Timberlake
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to