search for: level_id

Displaying 2 results from an estimated 2 matches for "level_id".

Did you mean: level_ii
2006 Feb 10
2
file column within link_to
...ment", "picture_url", "medium") now I need to make it a link so I''ve used: <%= link_to(image_tag url_for_file_column("element", "picture_url", "medium"), {:controller => "products", :action => "sec_level", :level_id => @element.id}) unless @element.picture_url.nil? %> but what I get is a link to the action that has rendered the current view... Enrico -- "The only thing necessary for the triumph of evil is for good men to do nothing" Edmund Burke
2006 Feb 16
4
Problems to test controllers which require login
Hi there, I have a quite stupid problem with my testing environment. I''m trying to test my controllers but every controller with a login rewuirement will fail (because there is no logged in user in the session). I realized the conceptual problem behind this, but I''m not able to solve it. What I have done so far: * Login in the test class as described in the Agile Rails Book.