Marcello Nuccio
dfcf1e4cf6
Fixed broken migrations tests: added assert_equal. [ #1704 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-07 11:00:24 +00:00
Sam Granieri
20d3892f46
Allow String#parameterize to accept a separator [ #2157 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-07 10:54:27 +00:00
Will Bryant
7fb7b48a1f
Allow :having conditions to be sanitized like regular :condition. [ #2158 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-06 22:29:53 +00:00
Adam Cooper
3ca5a0f9fd
Ensure belongs_to association with a counter cache in name spaced model works [ #1678 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-06 22:05:18 +00:00
Dimitri Krassovski
984bc7a614
Ensure replacing has_one associations respects the supplied :dependent option. [ #1305 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-06 19:11:13 +00:00
Pratik Naik
4863634a15
Ensure supplie :from has precedence over scoped :from [ #1370 state:resolved]
2009-03-06 18:36:30 +00:00
Tom Lea
c896d56c6e
Ensure self referential HABTM associations raise an exception if association_foreign_key is missing. [ #1252 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-06 18:27:34 +00:00
Pratik Naik
8bc0f90d6d
script/plugin install should remove .gitignore too. [ #1306 state:resolved] [Esad Hajdarevic]
2009-03-06 17:23:31 +00:00
jvoorhis
6a13376525
Methods invoked within named scope Procs should respect the scope stack. [ #1267 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-06 16:47:50 +00:00
Niels Ganser
c67d25e3c4
Ensure ActiveSupport::Memoizable respects private methods. [ #2138 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-06 14:41:13 +00:00
Simon Jefford
e97180c273
Ensure that loading metals from the main app and engines works on older Ruby versions [ #2143 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-05 18:50:52 -06:00
thedarkone
3191535ff0
Fix layouts with absolute paths [ #2134 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-05 18:49:22 -06:00
Mike Gunderloy
5b7527ca44
Failing test for routes with member & requirement [ #2054 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-05 18:46:59 -06:00
David Heinemeier Hansson
b1c989f28d
Fixed that redirection would just log the options, not the final url (which lead to "Redirected to #<Post:0x23150b8>") [DHH]
v2.3.1
2009-03-05 12:22:49 +01:00
David Heinemeier Hansson
de540416e9
Make sure that Rails frameworks are silenced when running in gem mode too
2009-03-05 12:22:42 +01:00
David Heinemeier Hansson
713b9c6a1b
Push the guides
2009-03-05 12:20:00 +01:00
David Heinemeier Hansson
dfef3d8b14
Release RC2 today
2009-03-05 11:00:04 +01:00
Jeremy Kemper
9d13b9eed8
Fix OrderedHash#inspect recursion
2009-03-04 16:21:44 -08:00
Joshua Peek
638b3b15a1
Generating routes with optional format segment does not inherit params format [ #2043 state:resolved]
2009-03-04 14:37:59 -06:00
Joshua Peek
6087fe8eed
stray character in railties test
2009-03-04 12:26:53 -06:00
Jeremy Kemper
8ef46f0d61
Merge branch 'master' of git@github.com:rails/rails
2009-03-03 19:10:42 -08:00
Jeremy Kemper
cb53452438
Fix OrderedHash#to_hash to return self instead of a new hash with self as default value
2009-03-03 19:10:33 -08:00
Jeremy Kemper
a242abbad8
Skip backtrace filters if BACKTRACE environment variable is set
2009-03-03 19:10:12 -08:00
Mike Gunderloy
ce56c5daa8
Allow routes with a trailing slash to be recognized
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#2039 state:committed]
2009-03-04 14:27:39 +13:00
Joshua Peek
9b1b88f09c
Fixed reset_session for ActiveRecord session store [ #2108 state:resolved]
2009-03-03 13:07:03 -06:00
Simon Jefford
4d4d2c3896
Enhanced Rails Metal - the load order of metals can now be configured [ #2057 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-03 12:39:19 -06:00
Michael Koziarski
818556ec4f
Revert "DDL transactions and savepoints for sqlite"
...
This reverts commit 38136f86dc .
Caused several test failures on the ci box:
http://ci.rubyonrails.org/builds/rails/38136f
[#2080 state:open]
2009-03-02 19:07:39 +13:00
Elliott Wood
c41ed929bb
Removed the "charset" parameter from the Content-Type header of multipart sections of nested multipart messages.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#2109 state:committed]
2009-03-02 18:51:30 +13:00
Jason King
38136f86dc
DDL transactions and savepoints for sqlite
...
Sqlite has had DDL transactions since 2.0.0[1] and savepoints since
3.6.8[2]. This patch updates the connection_adapters.
[1] http://tinyurl.com/sqlite-v2-0-0
[2] http://tinyurl.com/sqlite-v3-6-8
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#2080 state:committed]
2009-03-02 18:46:30 +13:00
Jeremy Kemper
04fdb6eccb
Revert "Speed up script/console by launching IRB directly."
...
[#2104 state:open]
This reverts commit 3b169cd693 .
2009-03-01 19:04:32 -08:00
Matt Jones
a3ac1e1621
Display gem dependencies correctly and unpack exactly once [ #2097 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-01 11:53:58 +00:00
Charles Nutter
3b169cd693
Speed up script/console by launching IRB directly.
...
[#2104 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-28 17:03:37 -08:00
Pratik Naik
0db6c3f518
Merge docrails and update the release notes
2009-02-28 19:44:25 +00:00
Pratik Naik
5029210914
Use Array.wrap() instead of Array() and handle action_view.cache_template_loading being false
2009-02-28 19:03:41 +00:00
Pratik Naik
2686286a70
Ensure 16b3d2b621 works with Ruby 1.9
2009-02-28 18:31:24 +00:00
Andrew Vit
16b3d2b621
Added :env option for gem in template runner [ #1983 state:resolved]
...
For installing gems that are only needed in the test environment, specify the :env option so the dependency is written to config/environments/test.rb:
gem 'rspec', :env => 'test'
gem 'quietbacktrace', :env => %w[development test]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-28 17:59:01 +00:00
Pratik Naik
8607740a29
Ensure the old behaviour is retained when action_view.cache_template_loading is not set explicitly
2009-02-28 17:42:15 +00:00
Mike Gunderloy
c653f700d3
Fix that scoped find with :group and :having [ #2006 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-28 17:35:58 +00:00
Mike Gunderloy
dcd9c7f58e
Fix spelling in test name.
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-28 15:35:03 +00:00
Gregg Pollack
f2a32bd0de
Added ability to pass in :public => true to fresh_when, stale?, and expires_in to make the request proxy cachable [ #2095 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-28 10:33:42 +01:00
David Heinemeier Hansson
7058c1366e
So it didnt happen yesterday, but very soon! Just need the final details ironed out
2009-02-28 10:30:49 +01:00
Jeremy Kemper
df2adc4c51
Merge branch 'master' of git@github.com:rails/rails
2009-02-27 12:21:34 -08:00
Jeremy Kemper
884068a13a
Skip console test when using minitest
2009-02-27 12:19:23 -08:00
Jeremy Kemper
1ceddd9514
Skip backtrace filter test when using minitest
2009-02-27 12:18:45 -08:00
Jeremy Kemper
eb217b2cf0
Ruby 1.9 compat: limit const_defined?
2009-02-27 12:18:18 -08:00
Jeremy Kemper
f732c16808
Invoke tests with the same ruby
2009-02-27 12:12:42 -08:00
Sven Fuchs
943d64b1c8
Vendorize i18n 0.1.3 gem (fixes issues with incompatible character encodings in Ruby 1.9) (Akira Matsuda) [ #2038 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 17:15:15 +01:00
David Heinemeier Hansson
77b0994c78
Prep for RC2 later today
2009-02-27 14:46:23 +01:00
Zack Hobson
ff894b55dd
Update rdoc: all is not a named_scope [ #1959 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 14:43:11 +01:00
Matthew Rudy Jacobs
319106d09c
Metal can now line in plugins under app/metal [ #2045 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 14:37:11 +01:00