Displaying 2 results from an estimated 2 matches for "m000209".
Did you mean:
3000209
2006 Jun 27
4
Use link_to in a controller?
Hello.
I realize that link_to is a helper that generally only has use in a
view file, but recently I have come across a situation where it would
be useful in a controller. I am trying to create a flash[:notice] and
I want to link to another page. Of course, I could hard code the HTML,
but for the sake of consistency, I was wondering if there is a way to
abstract it from within the controller
2005 Feb 12
3
ActiveRecord not updating record
Hi,
I''m having some problems using ActiveRecord to update records in a
sqlite database. This isn''t exactly as rails question, since I''m
doing this initial import outside of rails, but I''m hoping someone
hear might have an idea as to what my problem is.
The basic problem is with the following code (which is run in a big loop)
m = Movie.find_by_title_and_year