Colin Law wrote in post #1146617:
So your problem is not creating a view without a model, it is invoking
an action from a view. It is no good just saying that you can't call
the action, what error are you getting? It does not look to me as if
that line is valid, look at the parentheses.
Hassan Schroeder wrote in post #1146499:
Indeed they show how to fetch data from the database but I have only
seen exemples with scaffold's views, I mean _form, new, index...
Seriously? On this page that Colin referenced:
http://guides.rubyonrails.org/active_record_querying.html
where do
2 matches
Mail list logo