I have question: How to get access to /admin panel without Devise? And how to create admin user? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/6Ct3tTSUWfUJ. For more options, visit https://groups.google.com/groups/opt_out.
On 16 December 2012 14:42, Nikolay <itsnikolay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have question: > How to get access to /admin panel without Devise? > And how to create admin user?I am afraid your question does not make any sense. Does your application contain an admin panel? What do you mean by an admin user? Do you know how to create a normal user? Perhaps you mean that you do not know how to have users that have specific roles. If so then look at the cancan gem. If you are new to Rails then work through some good tutorials such as railstutorial.org, which is free to use online. Then you will understand the basics of rails. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
tamouse mailing lists
2012-Dec-20 02:40 UTC
Re: How to get access to /admin panel without Devise?
On Sun, Dec 16, 2012 at 8:42 AM, Nikolay <itsnikolay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have question: > How to get access to /admin panel without Devise? > And how to create admin user?Are you using the Active Admin gem? Active Admin bundles in Devise for managing adminstrative users (which could be completely separate from whatever your application does with user registration and authorization). Do you need to know how to get into it for the first time, so you can set up users? Do you have a current installation using Active Admin with Devise that you cannot get into because you don''t have credentials? If you do have credentials to the application data base, you could hack the users table, but I don''t really recommend doing that. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.