Commits

Show all
Author Commit Message Labels Comments Date
Michael Koziarski
Prepare for 2.3.4 release
Michael Koziarski
Clean tag attributes before passing through the escape_once logic. Addresses CVE-2009-3009
Manfred Stienstra
Add verify and clean methods to ActiveSupport::Multibyte. When accepting character input from outside of your application you can't blindly trust that all strings are properly encoded. With these methods you can check incoming strings and clean them up if necessary. Signed-off-by: Michael Koziarski <michael@koziarski.com>
Coda Hale
Fix timing attack vulnerability in ActiveSupport::MessageVerifier. Use a constant-time comparison algorithm to compare the candidate HMAC with the calculated HMAC to prevent leaking information about the calculated HMAC. Signed-off-by: Michael Koziarski <michael@koziarski.com>
Jeremy Kemper
Revert "Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted." Test failures on PostgreSQL. [#3128] This reverts commit 594a281d663dd8a7801651f4aea7e5b7f4f02548.
José Valim
Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted. [#3128 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Geoff Buesing
Rails::Info doesn't require version for unwanted frameworks [#3124 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Joshua Peek
Deprecated "best fit" detection is to difficult. Just provide a switch to toggle the new behavor on. # new_rails_defaults.rb ActionController::Routing.generate_best_match = false
Jay Pignata
Duplicating the options hash in Date#advance to prevent modification of the original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
Antonio Tapiador
I18n support for plugins Rails will now automatically add locale files found in any engine's locale directory to the I18n.load_path (i.e. files that match the glob pattern "config/locales/**/*.{rb,yml}" relative to engine directories). [#2325 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Jay Pignata
Ensuring that a singular model name is set for use in controllers when scaffold is passed a plural model name [#3062 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Chad Woolley
CI config updates: do not send CI emails unless explicitly enabled, use 'gem update --system', and send emails from an address which can post to the core list [#3116 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Sven Fuchs + Mateo Murphy
Fix ActiveRecord Error message I18n: * allow messages and full_messages to be lazily translated at any time * allow locales to be swapped and still obtain correctly localized messages * allow localized global and error-type specific full_message formats * extract an Error class [#1687 state:open] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Jeremy Kemper
Prefer utf8_unicode_ci (better) over utf8_general_ci (faster)
Jeffrey Hardy
When running multiple test tasks, don't abort early if one produces failures [#3107 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Jeffrey Hardy
Don't use AR::Base.connection for fixture column quoting. Use the connection given to Fixtures.new [#3104 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Jeffrey Hardy
UrlRewriter#rewrite_url should call #to_param on the value given in :anchor option, just as #url_for does [#2746 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Akira Matsuda
I18n: use I18n for select helpers' prompt text [#2252 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Jeremy Kemper
Revert "I18n: use I18n for select helpers' prompt text" Broke CI. [#2252 state:open] This reverts commit d725ad39da4436bded05cb647b930e5597c8771c.
Sven Fuchs
allow ActiveRecord#RecordInvalid exception message to be localized [#2754 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Akira Matsuda
I18n: use I18n for select helpers' prompt text [#2252 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Jeremy Kemper
Fix typo
miloops
timestamps gives a created_at field not created_on. [#3093 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Jeremy Kemper
Benchmark script via miloops' arel fork via DataMapper's AR comparison script
Jeremy Kemper
Add active_support/all for forward compatibility.
Mike Gunderloy
Fix trivial typo in template runner example [#3082 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
David Heinemeier Hansson
Added db/seeds.rb as a default file for storing seed data for the database. Can be loaded with rake db:seed (or created alongside the db with db:setup). (This is also known as the "Stop Putting Gawd Damn Seed Data In Your Migrations" feature) [DHH] Conflicts: railties/CHANGELOG
Pratik Naik
Deprecate SQLite2Adapter and DeprecatedSQLiteAdapter
Jeremy Kemper
2-3-stable CI notifies rails core list
Jeremy Kemper
Bump pg gem requirement to 0.8.0. Build psql db with UTF8 encoding.
  1. Prev
  2. Next