[Ironruby-core] Updated Rails instructions

Sam Clopton lists at ruby-forum.com
Fri Jan 22 17:31:31 EST 2010


> I'm not seeing this; the scaffolding example at the link below does the 
> same thing, and redirects fine with the new adapter (a Post created with 
> the id "4" will redirect to "/posts/4"):
> 
> @post = Post.new(params[:post])
> if @post.save
>   flash[:notice] = 'Post was successfully created.'
>   redirect_to(@post)
> else
>   render :action => "new"
> end
> 
> Can you possibly send more information with the old adapter? I'd like 
> these lines added right after @company.save succeeds (inside the "if" 
> statement), and then could you send the output?
> 
>   p params
>   p @company
>   p company_path(@company)
> 
> ~Jimmy

Hopefully this helps:

authenticity_tokenmrfvGtPzabzzhhdx/NFuxMlM64Q50R0V3cQbOtpJjws=companynamehmmmjj...commentstestcommitSubmitcontrollercompaniesactioncreate
#<Company:0x000ea44>
/companies/268
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list