jekuno / milia

Easy multi-tenanting for Rails5 (or Rails4) + Devise
MIT License
341 stars 72 forks source link

Bugfix: ActionView::Template::Error in sample milia app #41

Closed klippx closed 8 years ago

klippx commented 10 years ago

Issue:

ActionView::Template::Error (Asset filtered out and will not be served: add `Rails.application.config.assets.precompile += %w( web_app_theme.css )` to `config/initializers/assets.rb` and restart your server):

Solution:

dsaronin commented 10 years ago

this sounds like a new requirement under Rails 4.1

On Tue, Aug 19, 2014 at 5:56 AM, Mathias Klippinge <notifications@github.com

wrote:

Issue:

  • Clicking sign up crashes the application:

ActionView::Template::Error (Asset filtered out and will not be served: add Rails.application.config.assets.precompile += %w( web_app_theme.css ) to config/initializers/assets.rb and restart your server):

Solution:

  • assets.rb was missing web_app_theme.css, so make sure rails g milia:install adds it

You can merge this Pull Request by running

git pull https://github.com/klippx/milia fix-assets

Or view, comment on, or merge it at:

https://github.com/dsaronin/milia/pull/41 Commit Summary

  • Bugfix: assets.rb was missing web_app_theme.css so clicking sign up crashes the application

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/dsaronin/milia/pull/41.

klippx commented 10 years ago

Actually this was Rails 4.0

https://github.com/klippx/sample-milia-app/blob/master/Gemfile.lock#L123