RailsCasts Pro episodes are now free!

Learn more or hide this

Konrad Oleksiuk's Profile

GitHub User: koleksiuk

Comments by Konrad Oleksiuk

Avatar

Yeh, thank you.

Now there's a problem with Simple Navigation - when I follow to next step (when user_steps_controller.rb runs) simple_navigation somehow forgots all the "global" variables like root_path etc., so that I get error in application layout

ruby
undefined local variable or method `root_path' for "user_steps":String

I'd like to add, that simply adding root_path in application layout works, so there's something wrong with =render_navigation.

If anyone uses those 2 gems and somehow solved this problem, please share. :)

Avatar

And generally how to implement it correctly in Devise?

Avatar

Any idea how to overwrite create method in Devise (code in users_controller.rb)?