[Rails] Re: cucumber | Then I should see view.common.status.logged_in_as

2009-09-13 Thread Rafael Schaer { beYou media }
THnx a lot, that's exactly what i was looking for! rgds Rafael On 10 Sep., 22:00, DyingToLearn phy...@gmail.com wrote: It depends on exactly what value is important to the stakeholders. If specific messages are important, then you could use a scenario

[Rails] Re: We're sorry, but something went wrong.

2009-04-24 Thread Rafael Schaer { beYou media }
start your server with script/server --debugger or script/server -u (this is the same) then set a breakpoint in this method like def find_cart debugger session[:cart] ||= Cart.new end then you can look, what is exactly in your session var the development.log output of the console

[Rails] Re: Getting started with database/model relationships

2009-04-24 Thread Rafael Schaer { beYou media }
Hey Bernhard, take a look first into this. There is a really good explanation, hope you come along with this. http://guides.rubyonrails.org/association_basics.html Rafael On 24 Apr., 07:47, Bradley Herman rails-mailing-l...@andreas-s.net wrote: Hey everyone... I'm just getting my feet wet

[Rails] Re: where do helper for a controller go?

2009-04-23 Thread Rafael Schaer { beYou media }
Hi Heinz, can you be more specific? May be you could move it to your business logic, e.g. On 23 Apr., 11:23, Heinz Strunk rails-mailing-l...@andreas-s.net wrote: Hey, I just wanna make sure I'm right... I need to DRY my controller that's why I put the code of 2 different actions into one