Sha256: d92bdca677f8fc33f0878e90d31eb9626d7cb628575f644ab3ffde1367b75ffa
Contents?: true
Size: 754 Bytes
Versions: 8
Compression:
Stored size: 754 Bytes
Contents
# frozen_string_literal: true require 'active_record' require 'action_controller/railtie' # config module ErdApp class Application < Rails::Application # Rais.root config.root = File.dirname(__FILE__) config.secret_token = 'fall to your knees and repent if you please' config.session_store :cookie_store, :key => '_myapp_session' config.active_support.deprecation = :log config.eager_load = false config.app_generators.orm :active_record, :migration => true, :timestamps => true end end ErdApp::Application.initialize! ErdApp::Application.routes.draw {} # models class Author < ActiveRecord::Base has_many :books end class Book < ActiveRecord::Base belongs_to :author end # helpers module ApplicationHelper; end
Version data entries
8 entries across 8 versions & 1 rubygems