Tag: ruby
ActionView::Template::Error (active_admin.css isn’t precompiled)
September 13, 2013 Leave a comment
Just sepnt quite some time fixing infamous “ActionView::Template::Error (active_admin.css isn’t precompiled)” error on prod. Everything worked fine in dev environment but once I put the code on prod it broke. Couple websites proposed several solutions, but none of them worked for me. Finally a combination of difference recipes seemed to…
Ruby on Rails: how to override default_scope – a better approach
July 2, 2010 Leave a comment
Ever used default_scope in RoR? Ever regretted you had ever read about this feature after you wrote tons of code and later realized you can’t access the records you need in a convenient way when necessary? Try googling “how to override default_scope” and you will find tons of advices how…