Skip to content

Instantly share code, notes, and snippets.

@benjaminmateev
Created June 18, 2015 13:47
Show Gist options
  • Select an option

  • Save benjaminmateev/461b5d4741f218b72d6b to your computer and use it in GitHub Desktop.

Select an option

Save benjaminmateev/461b5d4741f218b72d6b to your computer and use it in GitHub Desktop.

Revisions

  1. Benjamin Mateev created this gist Jun 18, 2015.
    13 changes: 13 additions & 0 deletions application.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # config/application.rb

    # Don't generate assets and helpers
    config.generators do |g|
    g.assets = false
    g.helper = false
    end

    # Don't include all helpers globally, just the right helper for the current namespace
    config.action_controller.include_all_helpers = false

    # Create a structure.sql not a schema.rb
    config.active_record.schema_format = :sql