Displaying 2 results from an estimated 2 matches for "tab_nam".
Did you mean:
tab_name
2006 Aug 01
8
Dumb views?
Hello again! I''ve another "what would you do in this situation" question.
You''ve got 6 controllers, one named base. The other 5 controllers extend
base. Currently they share one layout.
Your layout displays navigation. However, there are two actions inside base
for which you do not want navigation displayed (index, new).
Do you...
a) Add logic to your layout telling
2006 Feb 23
8
SQL quoting for :order parameter
When I construct a query using variables I do something like this:
@users = User.find(:all, :conditions => ["location = ?", location])
I would like to do the same sort of thing in the :order parameter.
@users = User.find(:all, :order => ["? ASC", location])
When I try this though I get a SQL error and I see that the items in the
array were concatenated together and