Skip to content

Commit

Permalink
rails 3.2.11 and omniauth updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fred committed Jan 12, 2013
2 parents d46d69e + a688390 commit 848ece3
Show file tree
Hide file tree
Showing 13 changed files with 49 additions and 16 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG → CHANGELOG.md
@@ -1,13 +1,15 @@
CHANGELOG

== Jan 12, 2013
## Jan 12, 2013

- Updated to rails 3.2.11
- Added Twitter Bootstrap layout
- Added images to the places results
- Improved google places detection of address

== Apr 15, 2012
## Oct 15, 2012

- Update all gems, including to latest Rails 3.2.8

## Apr 15, 2012

- Updated gems, jquery and rails to 3.1.4
- Added pagination with kaminari
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -29,4 +29,4 @@ group :test do
gem 'turn', require: false
end

gem 'bootstrap-sass', '~> 2.2.2.0'
gem 'bootstrap-sass', '~> 2.2.2.0'
2 changes: 1 addition & 1 deletion README
@@ -1,4 +1,4 @@
Rails 3.1.1 app with the google places api for address autocomplete.
Rails 3.2 app with the google places api for address autocomplete.

Installation steps

Expand Down
14 changes: 14 additions & 0 deletions config/application.rb
Expand Up @@ -39,6 +39,20 @@ class Application < Rails::Application
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password]

# Enable escaping HTML in JSON.
config.active_support.escape_html_entities_in_json = true

# Use SQL instead of Active Record's schema dumper when creating the database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types
# config.active_record.schema_format = :sql

# Enforce whitelist mode for mass assignment.
# This will create an empty whitelist of attributes available for mass-assignment for all models
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
# parameters by using an attr_accessible or attr_protected declaration.
# config.active_record.whitelist_attributes = true

# Enable the asset pipeline
config.assets.enabled = true

Expand Down
9 changes: 8 additions & 1 deletion config/environments/development.rb
Expand Up @@ -2,7 +2,7 @@
# Settings specified here will take precedence over those in config/application.rb

# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false

Expand All @@ -22,6 +22,13 @@
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin

# Raise exception on mass assignment protection for Active Record models
config.active_record.mass_assignment_sanitizer = :strict

# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)
config.active_record.auto_explain_threshold_in_seconds = 0.5

# Do not compress assets
config.assets.compress = false

Expand Down
9 changes: 8 additions & 1 deletion config/environments/production.rb
Expand Up @@ -36,8 +36,11 @@
# See everything in the log (default is :info)
# config.log_level = :debug

# Prepend all log lines with the following tags
# config.log_tags = [ :subdomain, :uuid ]

# Use a different logger for distributed setups
# config.logger = SyslogLogger.new
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)

# Use a different cache store in production
# config.cache_store = :mem_cache_store
Expand All @@ -60,4 +63,8 @@

# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify

# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)
# config.active_record.auto_explain_threshold_in_seconds = 0.5
end
10 changes: 4 additions & 6 deletions config/environments/test.rb
Expand Up @@ -2,9 +2,9 @@
# Settings specified here will take precedence over those in config/application.rb

# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs. Don't rely on the data there!
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = true

# Configure static asset server for tests with Cache-Control for performance
Expand All @@ -29,10 +29,8 @@
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test

# Use SQL instead of Active Record's schema dumper when creating the test database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types
# config.active_record.schema_format = :sql
# Raise exception on mass assignment protection for Active Record models
config.active_record.mass_assignment_sanitizer = :strict

# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
Expand Down
5 changes: 5 additions & 0 deletions config/initializers/inflections.rb
Expand Up @@ -8,3 +8,8 @@
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
# end
#
# These inflection rules are supported but not enabled by default:
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.acronym 'RESTful'
# end
4 changes: 2 additions & 2 deletions db/schema.rb
Expand Up @@ -23,8 +23,8 @@
t.string "country"
t.decimal "lat", :precision => 16, :scale => 13
t.decimal "lng", :precision => 16, :scale => 13
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end

end
Binary file not shown.
Binary file modified public/assets/application-d92c4adf11d44dbcc04d2c505627d956.js.gz
Binary file not shown.
Binary file modified public/assets/application.css.gz
Binary file not shown.
Binary file modified public/assets/application.js.gz
Binary file not shown.

0 comments on commit 848ece3

Please sign in to comment.