David Heinemeier Hansson
f42c77f927
Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
2008-11-22 18:06:08 +01:00
David Heinemeier Hansson
a026b4c983
Let ApplicationController stay unloaded for as long as possible
2008-11-22 13:24:37 +01:00
David Heinemeier Hansson
e50530ca3a
Reduced the number of literal aliases to the range that has actually seen personal use. With the massive savings in overhead, I was able to fit Array#forty_two
2008-11-21 10:00:22 +01:00
Colin Curtin
1d4554d766
ActionMailer should respect content type when choosing layouts
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-11-21 04:09:14 +05:30
Alexey Mahotkin
84583657f4
Fixed RFC-2045 quoted-printable bug [ #1421 state:committed]
...
http://www.faqs.org/rfcs/rfc2045.html says:
may be
represented by an "=" followed by a two digit
hexadecimal representation of the octet's value. The
digits of the hexadecimal alphabet, for this purpose,
are "0123456789ABCDEF". Uppercase letters must be
used; lowercase letters are not allowed.
ActionMailer, however, used "=%02x" specification.
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2008-11-20 23:10:15 +01:00
Jeremy Kemper
ebdbd854a9
Fix straggling references to Test::Unit::TestCase
2008-11-20 13:47:36 -08:00
Jeremy Kemper
b7a5ffd083
Update changelog to reflect move from Test::Unit::TestCase to ActiveSupport::TestCase
2008-11-20 13:47:36 -08:00
Jeremy Kemper
53104c34b1
Require mocha >= 0.9.0 for Active Support tests. Don't manipulate the load path.
2008-11-20 13:47:36 -08:00
Jeremy Kemper
d8a555e137
Mocha 0.9.0 compatibility for test setup/teardown callbacks
2008-11-20 13:47:35 -08:00
Daniel Schierbeck
a5156d9c2c
Ensure only delegations to methods can have an automatic prefix. [ #1235 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-11-21 01:15:49 +05:30
David Heinemeier Hansson
206c5643aa
Merge branch 'master' of git@github.com:rails/rails
2008-11-20 08:52:48 +01:00
Matt Jones
fb1eebac94
alternative resolution to vendor load problem
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2008-11-20 08:52:17 +01:00
Jeremy Kemper
20a346170c
Mocha >= 0.9.0 must be available for Action Pack tests
2008-11-19 19:14:52 -08:00
Aaron Batalion
e54c33bfc8
need to make sure the asset type is cached with it in Cache.. name is sufficient, not self
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-11-19 15:56:38 -08:00
Aaron Batalion
d7f4921a9a
Fixed asset host to not cache objects [ #1419 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-11-19 17:29:09 -06:00
Pratik Naik
dbbaccbcda
Revert "Simplify benchmarking and rescue". Need a different approach.
...
This reverts commit 3be9134d1c .
2008-11-20 04:50:34 +05:30
Pratik Naik
3be9134d1c
Simplify benchmarking and rescue
2008-11-20 04:17:48 +05:30
Jeremy Kemper
549388c244
Reflect default locale change from en-US to en
2008-11-19 12:22:06 -08:00
Jeremy Kemper
7ee9addb6e
Enumerable#none? conforms to Ruby 1.8.7 behavior
2008-11-19 11:51:57 -08:00
Jeremy Kemper
5b7d07f423
Require mocha for tests. Get rid of uses_mocha helper.
2008-11-19 11:08:34 -08:00
Jeremy Kemper
a1ce4008c8
Require mocha before the testcase overrides, otherwise its run method is clobbered
2008-11-19 11:08:19 -08:00
Jeremy Kemper
bedea33043
Eliminate method redefinition warning
2008-11-19 11:07:19 -08:00
Akira Matsuda
baa8ee5eb1
Require active_support/secure_random for Ruby 1.9.
...
[#1326 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-11-19 09:57:09 -08:00
Ken Collins
8e4624be9e
Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-11-19 18:00:56 +01:00
Pratik Naik
aeae79dc45
Remove deprecated ActionController::Base#assign_default_content_type_and_charset
2008-11-19 22:25:08 +05:30
Pratik Naik
9c3c42d8ea
Remove reset! as a connection#checkout callback
2008-11-19 21:18:07 +05:30
Pratik Naik
51730792ca
Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris Wanstrath]
2008-11-19 19:36:42 +05:30
David Heinemeier Hansson
51a19ae2bf
Assume that the next version is going to be 2.3 for now
2008-11-19 14:12:38 +01:00
David Heinemeier Hansson
e442448fa3
Changed the default of ActionView#render to assume partials instead of files when not given an options hash [DHH]
2008-11-19 14:06:15 +01:00
David Heinemeier Hansson
130fe74d17
Changed the default of ActionView#render to assume partials instead of files when not given an options hash [DHH]
2008-11-19 14:00:16 +01:00
Pratik Naik
27c03e69e9
Remove deprecated render_component. Please use the plugin from http://github.com/rails/render_component/tree/master
2008-11-19 17:48:57 +05:30
David Heinemeier Hansson
0c9f677e78
Another piece of markup removed from environment.rb
2008-11-19 12:37:04 +01:00
David Heinemeier Hansson
53eba2f218
The docs in environment.rb are not going to be rendered so it doesnt make sense to mark them up
2008-11-19 12:31:34 +01:00
David Heinemeier Hansson
70babd4ebb
Update doc to make more sense
2008-11-19 12:19:11 +01:00
Hiroshi Saito
291d199de1
Let polymorphic_path treat an array contains single name as without array [ #1386 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2008-11-19 12:07:12 +01:00
Damian Janowski
f451f0e5cf
Added Enumerable#none? to check that none of the elements match the block [ #1408 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2008-11-19 10:48:41 +01:00
Gabe da Silveira
917428bcce
Make optimized named routes respect all reserved options and tie it into UrlRewriter::RESERVED_OPTIONS so it's DRY
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-11-18 22:47:33 +01:00
Luke Melia
60d6f25517
Fix rendering html partial via inline render when with :js format [ #1399 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-11-18 15:19:16 -06:00
Michael Koziarski
9c01d3cead
Spam more people, the list is next
2008-11-18 20:52:07 +01:00
Hongli Lai (Phusion)
337c361e26
Register 'checked' as an HTML boolean attribute.
...
This way, 'tag :foo, :type => "checkbox", :checked => false' would output
the expected
<input type="checkbox" />
instead of the old
<input type="checkbox" checked="false" />
The latter would result in a checkbox that's initially checked.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-11-18 11:50:31 -08:00
Michael Koziarski
19e9a1f47d
Remove duplicate distribution of prototype and scriptaculous.
...
This was previously needed by define_javascript_functions which has been removed for a while.
2008-11-18 20:11:55 +01:00
Michael Koziarski
b579184819
Remove mention of long-dead define_javascript_functions
2008-11-18 20:11:55 +01:00
Thomas Fuchs
252ca3e3e7
Update Prototype to 1.6.0.3 and update script.aculo.us to 1.8.2
2008-11-18 19:24:22 +01:00
gbuesing
1955c164b3
TimeZone offset tests: use current_period, to ensure TimeZone#utc_offset is up-to-date
2008-11-18 09:38:12 -06:00
gbuesing
9ad165cb9d
Update bundled TZInfo to 0.3.12
2008-11-18 09:01:57 -06:00
Matt Jones
45ba4ec626
add vendor/ back to load paths; catch errors in constant loading
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2008-11-18 14:32:46 +01:00
Sven Fuchs
12118963ac
use :en as a default locale (in favor of :en-US)
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2008-11-18 14:23:53 +01:00
David Heinemeier Hansson
d9b92ee11b
Added config.i18n settings gatherer to config/environment, auto-loading of all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH]
2008-11-18 14:23:13 +01:00
Luke Melia
75fb8dfb99
Prevent assert_template failures when a render :inline is called before rendering a file-based template [ #1383 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-11-17 22:09:22 -06:00
Eugene Bolshakov
3c9beb3dab
Add helper test generators [ #1199 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-11-17 21:56:39 -06:00