casein
casein copied to clipboard
A lightweight CMS toolkit for Ruby on Rails, based on Bootstrap
Fix casein for rails 6.2/7: ActiveModel::Errors#keys deprecated ActiveModel::Errors#keys is removed in rails >= 6.2and causes an error. This PR Changed admin_user_session.errors.keys.each to admin_user_session.errors.attribute_names.each. For details see https://github.com/activeadmin/activeadmin/issues/7175
Hi, i just created a rails 5 app with webpack and added `` to application.html.erb, but webpack is not including. Please help.
Bundler could not find compatible versions for gem "activemodel": In snapshot (Gemfile.lock): activemodel (= 5.0.7.2) In Gemfile: casein (~> 5.4.0) was resolved to 5.4.0.0, which depends on authlogic (~> 5.0.0)...
Need to be able to delete error scaffold from app. ex: Scaffold generate with a typo or if requirements change and need to delete the scaffold.
rake casein:users:create_admin [email protected] c:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/scrypt-1.2.1/lib/scrypt.rb:137: [BUG] Segmentation fault ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32] -- Control frame information ----------------------------------------------- c:0038 p:---- s:0169 e:000168 CFUNC :sc_calibrate c:0037 p:0041 s:0162 e:000161 METHOD c:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/scrypt-1.2.1/lib/scrypt.rb:137...
It appears that Casein [overrides](https://github.com/russellquinn/casein/blob/master/config/initializers/will_paginate.rb) the behavior of the `will_paginate` method. This introduces difficulties into the front-end of sites that want to use Casein for their CMS. Is there any...
Is there any chance you can make it optional to use SCrypt and use something that is compatible with JRuby?
I want to create admins in db/seed. Is this possible? If not, can you point me in the right direction to create a solution?
According to your [`routes.rb`](https://github.com/russellquinn/casein/blob/master/config/routes.rb), the `/admin` path is fixed and there is no way to define a different one with, let's say, a config attribute. In my case, the `/admin`...