I have another question related to a legacy schema I am working with.
Do dynamic finders work with legacy schemas in general? The schema I am
working with uses hungarian prefixes for column names. For example
0 if a bug is closed and 1 if it is open (type smallint). When I try
= Bug.find_all_by_fOpen(1), I get the following exception:
undefined method `find_by_fOpen’ for Bug:Class
But when I try @bugs = Bug.find(:all, :conditions => [“fOpen = ?”, 1]),
get the expected find results.