config/environment.rb in radiantcms-couchrest_model-0.1.4 vs config/environment.rb in radiantcms-couchrest_model-0.1.5

- old
+ new

@@ -16,22 +16,17 @@ # Only load the extensions named here, in the order given. By default all # extensions in vendor/extensions are loaded, in alphabetical order. :all # can be used as a placeholder for all extensions not explicitly named. # config.extensions = [ :all ] - - # By default, only English translations are loaded. Remove any of these from - # the list below if you'd like to provide any of the supported languages - config.extensions -= [:dutch_language_pack, :french_language_pack, :german_language_pack, - :italian_language_pack, :japanese_language_pack, :russian_language_pack] # Your secret key for verifying cookie session data integrity. # If you change this key, all old sessions will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. config.action_controller.session = { - :key => '_radiant_session', + :session_key => '_radiant_session', :secret => 'asdfqwerfxcoivswqenadfasdfqewpfioutyqwel' } # Comment out this line if you want to turn off all caching, or # add options to modify the behavior. In the majority of deployment @@ -59,23 +54,18 @@ # (create the session table with 'rake db:sessions:create') config.action_controller.session_store = :cookie_store # Activate observers that should always be running config.active_record.observers = :user_action_observer - - # The internationalization framework can be changed to have another default locale (standard is :en) or more load paths. - # All files from config/locales/*.rb,yml are added automatically. - # config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales', '*.{rb,yml}')] - # config.i18n.default_locale = :'en' # Make Active Record use UTC-base instead of local time config.time_zone = 'UTC' # Set the default field error proc config.action_view.field_error_proc = Proc.new do |html, instance| if html !~ /label/ - %{<span class="error-with-field">#{html} <span class="error">#{[instance.error_message].flatten.first}</span></span>} + %{<div class="error-with-field">#{html} <small class="error">&bull; #{[instance.error_message].flatten.first}</small></div>} else html end end @@ -83,8 +73,6 @@ # Add new inflection rules using the following format: ActiveSupport::Inflector.inflections do |inflect| inflect.uncountable 'config' end end - - config.gem 'will_paginate', :version => '~> 2.3.11', :source => 'http://gemcutter.org' -end +end \ No newline at end of file