-
-
Notifications
You must be signed in to change notification settings - Fork 317
Rails 4.2 #655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails 4.2 #655
Changes from all commits
72825f8
29d213a
646df5c
95e2c44
c25efbb
22f6422
b692f20
76e067a
68f9319
b18f341
171f3c5
9fa7c27
5a72d77
4c49b3d
9b42bad
99248ed
9163ce8
64f4372
745c995
f0c9ed4
698729a
6573cb6
b532974
a73d181
331054d
cacb00e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| /* Alchemy CMS Sprockets Manifest | ||
| * ------------------------------- | ||
| *= require select2 | ||
| *= require_self | ||
| */ | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| //= require select2 | ||
|
|
||
| select { | ||
| @extend %button-defaults; | ||
| height: 29px; | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,7 @@ | |
| require 'kaminari' | ||
| require 'non-stupid-digest-assets' | ||
| require 'request_store' | ||
| require 'responders' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. |
||
| require 'sass-rails' | ||
| require 'sassy-buttons' | ||
| require 'simple_form' | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,12 @@ | ||
| require File.expand_path('../boot', __FILE__) | ||
|
|
||
| require 'rails/all' | ||
| # Pick the frameworks you want: | ||
| require "active_record/railtie" | ||
| require "action_controller/railtie" | ||
| require "action_mailer/railtie" | ||
| require "action_view/railtie" | ||
| require "sprockets/railtie" | ||
| # require "rails/test_unit/railtie" | ||
|
|
||
| Bundler.require(*Rails.groups) | ||
| require "alchemy_cms" | ||
|
|
@@ -18,5 +24,9 @@ class Application < Rails::Application | |
| # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. | ||
| # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] | ||
| # config.i18n.default_locale = :de | ||
|
|
||
| # Do not swallow errors in after_commit/after_rollback callbacks. | ||
| config.active_record.raise_in_transactional_callbacks = true | ||
| end | ||
| end | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1 trailing blank lines detected. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # Set up gems listed in the Gemfile. | ||
| ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__) | ||
|
|
||
| require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) | ||
| require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. |
||
| $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Dummy::Application.configure do | ||
| Rails.application.configure do | ||
| # Settings specified here will take precedence over those in config/application.rb. | ||
|
|
||
| # In the development environment your application's code is reloaded on | ||
|
|
@@ -19,11 +19,23 @@ | |
| # Print deprecation notices to the Rails logger. | ||
| config.active_support.deprecation = :log | ||
|
|
||
| # Raise an error on page load if there are pending migrations | ||
| # Raise an error on page load if there are pending migrations. | ||
| config.active_record.migration_error = :page_load | ||
|
|
||
| # Debug mode disables concatenation and preprocessing of assets. | ||
| # This option may cause significant delays in view rendering with a large | ||
| # number of complex assets. | ||
| config.assets.debug = true | ||
|
|
||
| # Asset digests allow you to set far-future HTTP expiration dates on all assets, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line is too long. [82/80] |
||
| # yet still be able to expire them through the digest params. | ||
| config.assets.digest = true | ||
|
|
||
| # Adds additional error checking when serving assets at runtime. | ||
| # Checks for improperly declared sprockets dependencies. | ||
| # Raises helpful error messages. | ||
| config.assets.raise_runtime_errors = true | ||
|
|
||
| # Raises error for missing translations | ||
| # config.action_view.raise_on_missing_translations = true | ||
| end | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [85/80]