PDA

View Full Version : AJAX scaffolding session weirdness


rubyonrails-talk
August 27th, 2006, 09:27 PM
All right,
I'm adapting the ajax_scaffolding code.
And I'm am unable to extract the user_id from the session hash.
If if do this:
I inserted some debugging (via 'raise') into my article controller, like
this
def create
begin
@article = Article.new(params[:article])
raise session.inspect

More... (http://groups.google.com/group/rubyonrails-talk/msg/691ca3e2b41afcd1)