Sha256: cc03e46ab30ecaf69bc2e7dd506d44e8117c4cca28f764495d7f7d0649215b36
Contents?: true
Size: 825 Bytes
Versions: 3
Compression:
Stored size: 825 Bytes
Contents
require 'action_controller/railtie' app = Class.new(Rails::Application) app.config.secret_token = '1234567890abcdef1234567890abcdef' app.config.session_store :cookie_store, :key => '_myapp_session' app.config.active_support.deprecation = :log app.config.root = File.dirname(__FILE__) Rails.backtrace_cleaner.remove_silencers! app.initialize! app.routes.draw do resources :widgets end Errplane.configure do |config| config.api_key = "f123-e456-d789c012" config.application_id = "b12r8c72" config.logger = Logger.new(STDOUT) config.debug = true config.ignored_environments = [] end class ApplicationController < ActionController::Base; end class WidgetsController < ApplicationController def index; render :nothing => true; end def new; return 1/0; end end Object.const_set(:ApplicationHelper, Module.new)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
errplane-0.3.7 | spec/app/rails.rb |
errplane-0.2.7 | spec/app/rails.rb |
errplane-0.2.6 | spec/app/rails.rb |