I have used refinery_cms with my Rails 3.2.8 app. It is configured correctly and it is also working fine. But now I want to implement all my devise views and controllers explicitly as I will be modifying them a bit.
So for that I followed this article
http://sdownie.com/blogs/integrating-refinery-rails-3-2-into-your-existing-rails-app
After doing all the configuration mentioned in the above article, I am getting the following error and I have difficulty tracking the root cause:
This is the error:
undefined method `refinery' for #<#<Class:0xcdec518>:0xcdd4fd0>
The above error occurs when I am removing the following line from routes.rb:
mount Refinery::Core::Engine, :at => '/'
But if I am keeping the above line and visiting the page http://localhost:3000/user/sign_up
, I'm getting the following error:
undefined method `user_registration_path' for # <ActionDispatch::Routing::RoutesProxy:0xe189634>
Any idea on this will be really helpful