hechima 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +62 -0
  4. data/Rakefile +32 -0
  5. data/lib/hechima.rb +4 -0
  6. data/lib/hechima/file.rb +10 -0
  7. data/lib/hechima/hechima_controller.rb +5 -0
  8. data/lib/hechima/loader.rb +55 -0
  9. data/lib/hechima/version.rb +3 -0
  10. data/lib/tasks/hechima_tasks.rake +5 -0
  11. data/spec/dummy/app_4.1.6/Gemfile +41 -0
  12. data/spec/dummy/app_4.1.6/Gemfile.lock +150 -0
  13. data/spec/dummy/app_4.1.6/README.rdoc +28 -0
  14. data/spec/dummy/app_4.1.6/Rakefile +6 -0
  15. data/spec/dummy/app_4.1.6/app/assets/javascripts/application.js +16 -0
  16. data/spec/dummy/app_4.1.6/app/assets/stylesheets/application.css +15 -0
  17. data/spec/dummy/app_4.1.6/app/controllers/application_controller.rb +5 -0
  18. data/spec/dummy/app_4.1.6/app/controllers/top_controller.rb +4 -0
  19. data/spec/dummy/app_4.1.6/app/controllers/users_controller.rb +74 -0
  20. data/spec/dummy/app_4.1.6/app/helpers/application_helper.rb +2 -0
  21. data/spec/dummy/app_4.1.6/app/models/user.rb +2 -0
  22. data/spec/dummy/app_4.1.6/app/views/about/index.html.erb +1 -0
  23. data/spec/dummy/app_4.1.6/app/views/contact/company/index.html.erb +1 -0
  24. data/spec/dummy/app_4.1.6/app/views/contact/company/recruit.html.erb +1 -0
  25. data/spec/dummy/app_4.1.6/app/views/contact/index.html.erb +1 -0
  26. data/spec/dummy/app_4.1.6/app/views/layouts/application.html.erb +14 -0
  27. data/spec/dummy/app_4.1.6/app/views/memo.html.erb +1 -0
  28. data/spec/dummy/app_4.1.6/app/views/top/index.html.erb +2 -0
  29. data/spec/dummy/app_4.1.6/app/views/users/_form.html.erb +21 -0
  30. data/spec/dummy/app_4.1.6/app/views/users/edit.html.erb +6 -0
  31. data/spec/dummy/app_4.1.6/app/views/users/index.html.erb +25 -0
  32. data/spec/dummy/app_4.1.6/app/views/users/index.json.jbuilder +4 -0
  33. data/spec/dummy/app_4.1.6/app/views/users/new.html.erb +5 -0
  34. data/spec/dummy/app_4.1.6/app/views/users/show.html.erb +9 -0
  35. data/spec/dummy/app_4.1.6/app/views/users/show.json.jbuilder +1 -0
  36. data/spec/dummy/app_4.1.6/bin/bundle +3 -0
  37. data/spec/dummy/app_4.1.6/bin/rails +8 -0
  38. data/spec/dummy/app_4.1.6/bin/rake +8 -0
  39. data/spec/dummy/app_4.1.6/bin/spring +18 -0
  40. data/spec/dummy/app_4.1.6/config.ru +4 -0
  41. data/spec/dummy/app_4.1.6/config/application.rb +26 -0
  42. data/spec/dummy/app_4.1.6/config/boot.rb +4 -0
  43. data/spec/dummy/app_4.1.6/config/database.yml +25 -0
  44. data/spec/dummy/app_4.1.6/config/environment.rb +5 -0
  45. data/spec/dummy/app_4.1.6/config/environments/development.rb +37 -0
  46. data/spec/dummy/app_4.1.6/config/environments/production.rb +78 -0
  47. data/spec/dummy/app_4.1.6/config/environments/test.rb +39 -0
  48. data/spec/dummy/app_4.1.6/config/initializers/assets.rb +8 -0
  49. data/spec/dummy/app_4.1.6/config/initializers/backtrace_silencers.rb +7 -0
  50. data/spec/dummy/app_4.1.6/config/initializers/cookies_serializer.rb +3 -0
  51. data/spec/dummy/app_4.1.6/config/initializers/filter_parameter_logging.rb +4 -0
  52. data/spec/dummy/app_4.1.6/config/initializers/inflections.rb +16 -0
  53. data/spec/dummy/app_4.1.6/config/initializers/mime_types.rb +4 -0
  54. data/spec/dummy/app_4.1.6/config/initializers/session_store.rb +3 -0
  55. data/spec/dummy/app_4.1.6/config/initializers/wrap_parameters.rb +14 -0
  56. data/spec/dummy/app_4.1.6/config/locales/en.yml +23 -0
  57. data/spec/dummy/app_4.1.6/config/routes.rb +6 -0
  58. data/spec/dummy/app_4.1.6/config/secrets.yml +22 -0
  59. data/spec/dummy/app_4.1.6/db/development.sqlite3 +0 -0
  60. data/spec/dummy/app_4.1.6/db/migrate/20141027130956_create_users.rb +9 -0
  61. data/spec/dummy/app_4.1.6/db/schema.rb +22 -0
  62. data/spec/dummy/app_4.1.6/db/seeds.rb +7 -0
  63. data/spec/dummy/app_4.1.6/log/development.log +49 -0
  64. data/spec/dummy/app_4.1.6/public/404.html +67 -0
  65. data/spec/dummy/app_4.1.6/public/422.html +67 -0
  66. data/spec/dummy/app_4.1.6/public/500.html +66 -0
  67. data/spec/dummy/app_4.1.6/public/favicon.ico +0 -0
  68. data/spec/dummy/app_4.1.6/public/robots.txt +5 -0
  69. data/spec/dummy/app_4.1.6/spec/models/user_spec.rb +5 -0
  70. data/spec/dummy/app_4.1.6/spec/requests/users_spec.rb +10 -0
  71. data/spec/dummy/app_4.1.6/spec/routing/users_routing_spec.rb +35 -0
  72. data/spec/dummy/app_4.1.6/spec/views/top/index.html.erb_spec.rb +5 -0
  73. data/spec/dummy/app_4.1.6/spec/views/users/edit.html.erb_spec.rb +18 -0
  74. data/spec/dummy/app_4.1.6/spec/views/users/index.html.erb_spec.rb +19 -0
  75. data/spec/dummy/app_4.1.6/spec/views/users/new.html.erb_spec.rb +18 -0
  76. data/spec/dummy/app_4.1.6/spec/views/users/show.html.erb_spec.rb +14 -0
  77. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  78. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/2effd94b1c74c491799fb686687b3644 +0 -0
  79. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  80. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  81. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/52b7093727d476f444abb848c2219b99 +0 -0
  82. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/8a08ef484d958f709e309b02d2a1c851 +0 -0
  83. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/90432ba8419c47f36de60428c3fd2a42 +0 -0
  84. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/a094b9f01284b0f53a3c0e147ed58a88 +0 -0
  85. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/a277f0c96871f2aef26cf7e6a41f03bb +0 -0
  86. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/b28fe81781c8e274b2952b8a0eceff17 +0 -0
  87. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/bbf45f9b8242021207ce561081023865 +0 -0
  88. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  89. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  90. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  91. data/spec/dummy/app_4.1.6/tmp/cache/assets/development/sprockets/fce63545d7f15ef60a2cd4b33892c7b2 +0 -0
  92. data/spec/spec_helper.rb +102 -0
  93. metadata +273 -0
@@ -0,0 +1,16 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require turbolinks
16
+ //= require_tree .
@@ -0,0 +1,15 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -0,0 +1,5 @@
1
+ class ApplicationController < ActionController::Base
2
+ # Prevent CSRF attacks by raising an exception.
3
+ # For APIs, you may want to use :null_session instead.
4
+ protect_from_forgery with: :exception
5
+ end
@@ -0,0 +1,4 @@
1
+ class TopController < ApplicationController
2
+ def index
3
+ end
4
+ end
@@ -0,0 +1,74 @@
1
+ class UsersController < ApplicationController
2
+ before_action :set_user, only: [:show, :edit, :update, :destroy]
3
+
4
+ # GET /users
5
+ # GET /users.json
6
+ def index
7
+ @users = User.all
8
+ end
9
+
10
+ # GET /users/1
11
+ # GET /users/1.json
12
+ def show
13
+ end
14
+
15
+ # GET /users/new
16
+ def new
17
+ @user = User.new
18
+ end
19
+
20
+ # GET /users/1/edit
21
+ def edit
22
+ end
23
+
24
+ # POST /users
25
+ # POST /users.json
26
+ def create
27
+ @user = User.new(user_params)
28
+
29
+ respond_to do |format|
30
+ if @user.save
31
+ format.html { redirect_to @user, notice: 'User was successfully created.' }
32
+ format.json { render :show, status: :created, location: @user }
33
+ else
34
+ format.html { render :new }
35
+ format.json { render json: @user.errors, status: :unprocessable_entity }
36
+ end
37
+ end
38
+ end
39
+
40
+ # PATCH/PUT /users/1
41
+ # PATCH/PUT /users/1.json
42
+ def update
43
+ respond_to do |format|
44
+ if @user.update(user_params)
45
+ format.html { redirect_to @user, notice: 'User was successfully updated.' }
46
+ format.json { render :show, status: :ok, location: @user }
47
+ else
48
+ format.html { render :edit }
49
+ format.json { render json: @user.errors, status: :unprocessable_entity }
50
+ end
51
+ end
52
+ end
53
+
54
+ # DELETE /users/1
55
+ # DELETE /users/1.json
56
+ def destroy
57
+ @user.destroy
58
+ respond_to do |format|
59
+ format.html { redirect_to users_url, notice: 'User was successfully destroyed.' }
60
+ format.json { head :no_content }
61
+ end
62
+ end
63
+
64
+ private
65
+ # Use callbacks to share common setup or constraints between actions.
66
+ def set_user
67
+ @user = User.find(params[:id])
68
+ end
69
+
70
+ # Never trust parameters from the scary internet, only allow the white list through.
71
+ def user_params
72
+ params.require(:user).permit(:name)
73
+ end
74
+ end
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
@@ -0,0 +1,2 @@
1
+ class User < ActiveRecord::Base
2
+ end
@@ -0,0 +1 @@
1
+ <h1>Company/Index</h1>
@@ -0,0 +1 @@
1
+ <h1>Company/Recruit</h1>
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>App416</title>
5
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
+ <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <%= yield %>
12
+
13
+ </body>
14
+ </html>
@@ -0,0 +1 @@
1
+ <h1>Memo</h1>
@@ -0,0 +1,2 @@
1
+ <h1>Top#index</h1>
2
+ <p>Find me in app/views/top/index.html.erb</p>
@@ -0,0 +1,21 @@
1
+ <%= form_for(@user) do |f| %>
2
+ <% if @user.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
5
+
6
+ <ul>
7
+ <% @user.errors.full_messages.each do |message| %>
8
+ <li><%= message %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= f.label :name %><br>
16
+ <%= f.text_field :name %>
17
+ </div>
18
+ <div class="actions">
19
+ <%= f.submit %>
20
+ </div>
21
+ <% end %>
@@ -0,0 +1,6 @@
1
+ <h1>Editing user</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Show', @user %> |
6
+ <%= link_to 'Back', users_path %>
@@ -0,0 +1,25 @@
1
+ <h1>Listing users</h1>
2
+
3
+ <table>
4
+ <thead>
5
+ <tr>
6
+ <th>Name</th>
7
+ <th colspan="3"></th>
8
+ </tr>
9
+ </thead>
10
+
11
+ <tbody>
12
+ <% @users.each do |user| %>
13
+ <tr>
14
+ <td><%= user.name %></td>
15
+ <td><%= link_to 'Show', user %></td>
16
+ <td><%= link_to 'Edit', edit_user_path(user) %></td>
17
+ <td><%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %></td>
18
+ </tr>
19
+ <% end %>
20
+ </tbody>
21
+ </table>
22
+
23
+ <br>
24
+
25
+ <%= link_to 'New User', new_user_path %>
@@ -0,0 +1,4 @@
1
+ json.array!(@users) do |user|
2
+ json.extract! user, :id, :name
3
+ json.url user_url(user, format: :json)
4
+ end
@@ -0,0 +1,5 @@
1
+ <h1>New user</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Back', users_path %>
@@ -0,0 +1,9 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Name:</strong>
5
+ <%= @user.name %>
6
+ </p>
7
+
8
+ <%= link_to 'Edit', edit_user_path(@user) %> |
9
+ <%= link_to 'Back', users_path %>
@@ -0,0 +1 @@
1
+ json.extract! @user, :id, :name, :created_at, :updated_at
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
+ load Gem.bin_path('bundler', 'bundle')
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ begin
3
+ load File.expand_path("../spring", __FILE__)
4
+ rescue LoadError
5
+ end
6
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
7
+ require_relative '../config/boot'
8
+ require 'rails/commands'
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ begin
3
+ load File.expand_path("../spring", __FILE__)
4
+ rescue LoadError
5
+ end
6
+ require_relative '../config/boot'
7
+ require 'rake'
8
+ Rake.application.run
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # This file loads spring without using Bundler, in order to be fast
4
+ # It gets overwritten when you run the `spring binstub` command
5
+
6
+ unless defined?(Spring)
7
+ require "rubygems"
8
+ require "bundler"
9
+
10
+ if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ spring \((.*?)\)$.*?^$/m)
11
+ ENV["GEM_PATH"] = ([Bundler.bundle_path.to_s] + Gem.path).join(File::PATH_SEPARATOR)
12
+ ENV["GEM_HOME"] = ""
13
+ Gem.paths = ENV
14
+
15
+ gem "spring", match[1]
16
+ require "spring/binstub"
17
+ end
18
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
@@ -0,0 +1,26 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ # Pick the frameworks you want:
4
+ require "active_model/railtie"
5
+ require "active_record/railtie"
6
+ require "action_controller/railtie"
7
+ require "action_mailer/railtie"
8
+ require "action_view/railtie"
9
+ require "sprockets/railtie"
10
+ # require "rails/test_unit/railtie"
11
+
12
+ # Require the gems listed in Gemfile, including any gems
13
+ # you've limited to :test, :development, or :production.
14
+ Bundler.require(*Rails.groups)
15
+
16
+ module App416
17
+ class Application < Rails::Application
18
+ config.generators do |g|
19
+ g.orm :active_record
20
+ g.helper false
21
+ g.assets false
22
+ g.test_framework :rspec
23
+ g.controller_specs false
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,4 @@
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
+
4
+ require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
@@ -0,0 +1,25 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ #
7
+ default: &default
8
+ adapter: sqlite3
9
+ pool: 5
10
+ timeout: 5000
11
+
12
+ development:
13
+ <<: *default
14
+ database: db/development.sqlite3
15
+
16
+ # Warning: The database defined as "test" will be erased and
17
+ # re-generated from your development database when you run "rake".
18
+ # Do not set this db to the same as development or production.
19
+ test:
20
+ <<: *default
21
+ database: db/test.sqlite3
22
+
23
+ production:
24
+ <<: *default
25
+ database: db/production.sqlite3
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,37 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
+
12
+ # Show full error reports and disable caching.
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send.
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger.
20
+ config.active_support.deprecation = :log
21
+
22
+ # Raise an error on page load if there are pending migrations.
23
+ config.active_record.migration_error = :page_load
24
+
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
28
+ config.assets.debug = true
29
+
30
+ # Adds additional error checking when serving assets at runtime.
31
+ # Checks for improperly declared sprockets dependencies.
32
+ # Raises helpful error messages.
33
+ config.assets.raise_runtime_errors = true
34
+
35
+ # Raises error for missing translations
36
+ # config.action_view.raise_on_missing_translations = true
37
+ end
@@ -0,0 +1,78 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20
+ # config.action_dispatch.rack_cache = true
21
+
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
23
+ config.serve_static_assets = false
24
+
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
28
+
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
30
+ config.assets.compile = false
31
+
32
+ # Generate digests for assets URLs.
33
+ config.assets.digest = true
34
+
35
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
36
+
37
+ # Specifies the header that your server uses for sending files.
38
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
39
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
40
+
41
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
42
+ # config.force_ssl = true
43
+
44
+ # Set to :debug to see everything in the log.
45
+ config.log_level = :info
46
+
47
+ # Prepend all log lines with the following tags.
48
+ # config.log_tags = [ :subdomain, :uuid ]
49
+
50
+ # Use a different logger for distributed setups.
51
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
52
+
53
+ # Use a different cache store in production.
54
+ # config.cache_store = :mem_cache_store
55
+
56
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
57
+ # config.action_controller.asset_host = "http://assets.example.com"
58
+
59
+ # Ignore bad email addresses and do not raise email delivery errors.
60
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
61
+ # config.action_mailer.raise_delivery_errors = false
62
+
63
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
64
+ # the I18n.default_locale when a translation cannot be found).
65
+ config.i18n.fallbacks = true
66
+
67
+ # Send deprecation notices to registered listeners.
68
+ config.active_support.deprecation = :notify
69
+
70
+ # Disable automatic flushing of the log to improve performance.
71
+ # config.autoflush_log = false
72
+
73
+ # Use default logging formatter so that PID and timestamp are not suppressed.
74
+ config.log_formatter = ::Logger::Formatter.new
75
+
76
+ # Do not dump schema after migrations.
77
+ config.active_record.dump_schema_after_migration = false
78
+ end