ActiveAdmin with http authentication
Contact me at LinkedIn  RailsZilla at Facebook  RailsZilla at twitter   google +1  Contact me at Xing  connect me at github

ActiveAdmin with http authentication

Posted in Rails

Ever asked yourself how to use HTTP Basic authentication with ActiveAdmin? There are several reasons to use HTTP Basic authentication for your backend. I needed a solution which can be recycled wherever I need a HTTP Basic authentication. I only wanted a central place for User and Password and I wanted just one call wherever […]

Tags: , , , , , ,

rails – uninitialized constant dashboardcontroller

Posted in Rails

This is a quick hint: If you play with ActiveAdmin and get the error: “uninitialized constant dashboardcontroller” open your routes.rb in your /config-folder. Now look for: 1root :to => ‘your_controller#index’ You have to be sure, that your root definition is before 12devise_for :admin_users, ActiveAdmin::Devise.config   ActiveAdmin.routes(self) So your routes.rb could look like 12345YOUR_APP::Application.routes.draw do   […]

Tags: , ,

Copyright © 2011-2017  - RailsZilla – Ruby on Rails tutorials, tips and tricks All rights reserved. | Imprint | Privacy