Displaying 1 result from an estimated 1 matches for "columnnamevalue".
2012 Jun 18
4
Problem with exists? method
...ame.exists?(:column => value) always returns false
I verified that the above command works from rails console. Dont
understand why it always returns false even when there are valid
records.
And in the rails server terminal i see a request for this cmd failing as
Started HEAD "/tablenames/columnnamevalue.json" for 127.0.0.1 at Mon Jun
18 13:02:11 -0700 2012
ActionController::RoutingError (No route matches [GET]
"/tablenames/columnnamevalue.json"):
actionpack (3.2.4)
lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call''
actionpack (3.2.4)
lib/action_dispatch/mi...