I am beginning to think that mt brain doesnt speak Ruby(or rails)!
I am attempting to build the most basic search function imaginable -
Search within the database for a particular location
@locations = Location.find(:all, :conditions => ["location like ?",
In my view I just put my basic scaffolded view from show, reasoing that
this should return that exact result
<% for column in Location.content_columns %>
<b><%= column.human_name %>:</b> <%=h @location.send(column.name) %>
<% end %>
Help how do I resolve basic results like this? More properly I know it
should return a table of all the close matches, but anything other than
nasty NOMethoError# would be great!