search for: sethrasmussen

Displaying 4 results from an estimated 4 matches for "sethrasmussen".

2006 Mar 22
2
Controller instance variables falling in and out of scope
...within the partial reports @post.comments as nil WinXP Ruby 1.8.2 Edge Rails (behavior has existed over several iterations now) I''ve not run into anybody else with this problem, and have not had much luck with IRC and my own debugging efforts. Any clues? -- Seth Thomas Rasmussen http://sethrasmussen.com/
2006 Jan 11
0
Issues with dynamic finders ruby-1.8.4 / rails-1.0.0
...ead of categories, for example. To confuse things even more, if I go into console, I am able to do find_by_slug() with no problems. Any thoughts or recommendations would be greatly appreciated. I''ve queried #rubyonrails a few times with no bites. Thanks! -- Seth Thomas Rasmussen http://sethrasmussen.com/
2006 Feb 12
6
Including another helper
I need to include another helper module apart from the normal two (ApplicationHelper and [controllername]Helper). The inclusion needs to be dynamic and based on external parameters (ie what helper that get included differ from request to request). Is it possible? How? /Marcus
2006 Mar 20
16
logic inside a view file
I am quite certain I have heard it said not to put business logic inside view code but I have a report that I want to display 3 different possibilities of text based upon the value of a column. Would I just take the same type of if/then logic that I would use in a controller and put it inside erb <%= %> stuff? Craig