Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9238067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:40:24+00:00 2026-06-18T07:40:24+00:00

I had a simple Rails 3.2 app and later added RefineryCMS by following the

  • 0

I had a simple Rails 3.2 app and later added RefineryCMS by following the official guide (http://refinerycms.com/guides/with-an-existing-rails-app). Now I want to add devise to the Rails app to restrict public content based in the logged in user.

I know that there is an official RefineryCMS guide about adding RefineryCMS to existing Rails app + devise (http://refinerycms.com/guides/with-an-existing-rails-31-devise-app), but my scenario is different as in my case now devise is to be added. Any specific steps that I need to keep in mind. It would be good if someone can point me to a tutorial. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:40:25+00:00Added an answer on June 18, 2026 at 7:40 am

    I followed the procedure in the guide http://refinerycms.com/guides/with-an-existing-rails-31-devise-app.

    There were errors

    • undifined method ‘new_refinery_user_registeration_path’ and on refresh
    • uninitialized constant Refinery::Role

    and for that I had to replace ::Refinery::Role to ::Role in user model and override refinery_user_required? and just installed? in lib/refinery/refinery_patch.rb

    def refinery_user_required?
      false
    end
    
    def just_installed?
     false
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had installed the python package named requests . (pip install -i http://pip.kennethreitz.com/simple requests)
Brand new at Rails. I had a simple Rails 3 app on OS X
I'm following Mike Hartl's rails tutorial and created a simple app using rails 3.2.8.
while setting up a simple Rails app, I met an issue i never had
I created a simple test page on my website www.xaisoft.com and it had no
I have a simple rails app with models project and phase. A project has
(A while back I read this great post: http://aaronlongwell.com/2009/06/the-ruby-on-rails-cms-dilemma.html , discussing the Rails CMS
I was trying to put a new Rails app on Heroku, and had deleted
I have had a Rails app which authenticate users with Devise. It works well.
New to Ruby and Rails. I am developing a simple app for where you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.