search for: p273

Displaying 1 result from an estimated 1 matches for "p273".

Did you mean: 273
2006 Mar 08
5
ActiveRecord returning Strings with find_by_sql?
Hello, I''m new to Ruby & Rails, and I''m trying to figure out if this behavior by ActiveRecord is by design, or if I''m doing something incorrectly. Here''s the deal: I have a class based on ActiveRecord::Base that defines a method that creates a query using find_by_sql(). The fields retrieved by joins with other tables are being returned as Strings,