David Chelimsky
b3dcbedc67
move assert_template tests to their own test case [ #4501 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-03 13:46:34 +02:00
David Chelimsky
849ab92942
Eliminate false positives when passing symbols to assert_template
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-03 13:46:12 +02:00
José Valim
36fc489aa3
Update I18n gem to 0.4.0.beta1 [ #4525 state:resolved].
2010-05-03 13:45:36 +02:00
Lawrence Pit
9bd91b00b8
Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax for I18n
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-03 13:37:32 +02:00
José Valim
8ae9b05fa0
Make backtrace_cleaner work as expected. Prior to this patch, the Full Trace rarely showed the full trace. Also, increase performance considerably.
2010-05-03 12:59:48 +02:00
Xavier Noria
0e00f428a8
adds test coverage for Date.current vs Date.today in Date.(yesterday|tomorrow) implementation
2010-05-03 00:03:32 +02:00
David Chelimsky
8672a97e11
add NullResolver
...
[#4523 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 22:45:54 +02:00
David Chelimsky
a3044967ed
add tests for FixtureResolver
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 22:45:54 +02:00
David Chelimsky
91125f9927
move FixtureResolver to a file that is accessible outside Rails' own tests
...
[#4522 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 22:45:54 +02:00
José Valim
a76c7e68d5
Event should be aware if yielded block failed or not.
2010-05-02 22:45:54 +02:00
Justin George
731d4392e4
Change event namespace ordering to most-significant first [ #4504 state:resolved]
...
More work still needs to be done on some of these names
(render_template.action_view and render_template!.action_view particularly)
but this allows (for example) /^sql/ to subscribe to all
the various ORMs without further modification
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 22:45:54 +02:00
Justin George
109d3ee38d
Make notifications go off even when an error is raised, so that we capture the underlying performance data [ #4505 state:resolved]
...
This is important when trying to keep track of many layers of interrelated calls
i.e.:
ActiveRecord::Base.transaction do
MyModel.find(1) #ActiveRecord::NotFound
end # should capture the full time until the error propagation
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 22:45:53 +02:00
Santiago Pastorino
02028e529c
Missing require added make pass activesupport/test/json/encoding_test.rb in isolation
...
Signed-off-by: Xavier Noria <fxn@hashref.com >
2010-05-02 22:05:40 +02:00
Mikel Lindsaar
ceaa100e59
Adding ability for the procs to be called within the instance, allows you to pass results from instance methods to the mail header
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 11:56:08 +02:00
Mikel Lindsaar
08b07b60b6
Adding ability to pass proc's to the ActionMailer class default method
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-02 11:56:08 +02:00
Cezary Baginski
256a15c235
AR: fixed postgres fixture tests [ #4519 state:resolved]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-05-01 18:53:07 -07:00
Xavier Noria
1b33a151b2
revises tests for Date.yesterday and Date.tomorrow
2010-05-02 01:36:10 +02:00
Xavier Noria
7aaabea517
let Date.yesterday and Date.tomorrow be based on Date.current rather than Date.today
2010-05-02 01:12:31 +02:00
Xavier Noria
1b898cc946
say something about after_(commit|rollback) in callbacks.rb, the fact that their implementation is elsewhere is not important for rdoc purposes
2010-05-02 00:47:09 +02:00
Xavier Noria
6433c939c1
edit pass in the transactions preamble rdoc
2010-05-02 00:40:31 +02:00
Cezary Baginski
8b1b273c21
AR: fixed postgres transaction tests [ #4519 state:commited]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-05-01 13:40:07 -07:00
José Valim
a61a6d206b
Speed up I18n helpers in views and add entry to CHANGELOG.
2010-05-01 22:38:57 +02:00
Marius Nuennerich
35598db01a
repair the activesupport message encryptor tests for me, do so in the same way as jeremy did with message verifier
...
[#4517 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-05-01 10:04:01 -07:00
José Valim
13867a3f5f
Use %{} syntax in I18n (faster) instead of {{}}.
2010-05-01 12:54:52 +02:00
Xavier Noria
efba1d4227
Merge commit 'rails/master'
...
Conflicts:
railties/guides/source/index.html.erb
2010-05-01 02:23:47 -07:00
Carl Lerche
6c280f3398
RouteSet does not raise ActionController::RoutingError when no routes match anymore. Instead, it follows the X-Cascade convention. ShowExceptions checks for X-Cascade so that the routing error page can still be displayed.
2010-04-30 16:40:42 -07:00
Carl Lerche
95c98799a4
Fix a bug in the generators from the previous commit
2010-04-30 16:32:18 -07:00
Carlhuda
dedb842fda
It would be nice to actually commit test fixtures
2010-04-30 16:25:40 -07:00
eparreno
81807e0fe2
fix format
2010-04-30 23:19:44 +02:00
Carlhuda
785493ffed
Provide a mechanism for overriding the entire generator via a class that handles the individual elements of generating a new Rails application
2010-04-30 13:48:06 -07:00
Carlhuda
0761d1b0f7
Set up app generator class to make it easier to for alt-stacks to override targeted areas
2010-04-30 13:48:06 -07:00
Jeremy Kemper
1d2257deeb
Merge remote branch 'technoweenie/http_token_authentication'
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-04-30 13:46:37 -07:00
Xavier Noria
1ff954aaea
after_(commit|rollback) rdoc, edit pass
2010-04-30 21:35:03 +02:00
Xavier Noria
f5fa13cca1
guides index: punctuation
2010-04-30 21:22:57 +02:00
wycats
e975f6f530
Add generators to the guides and break out an extensions section
2010-04-30 11:52:04 -07:00
wycats
21c1fbb6c1
Add generators to the guides and break out an extensions section
2010-04-30 11:50:37 -07:00
wycats
0fe8827bf3
Merge branch 'master' of github.com:rails/rails
2010-04-30 11:17:58 -07:00
rick
8d236ccb84
add HTTP Token Authorization support to complement Basic and Digest Authorization.
2010-04-30 07:46:30 -07:00
José Valim
6b559474fb
Depend on the I18n 0.4.0.beta.
2010-04-30 16:22:18 +02:00
Norman Clarke
f0e754e713
Delegate Inflector.transliterate to i18n. [ #4508 state:resolved]
...
Ancillary changes: Moved Chars#normalize into a class method; removed
unused UTF_PAT constant.
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-30 16:18:12 +02:00
Lawrence Pit
60504e62c8
to_xml with :include should skip_instruct on the included records [ #4506 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-30 14:22:57 +02:00
Neeraj Singh
a003a39bac
removing the extra assignment statement [ #4432 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-30 13:20:14 +02:00
Neeraj Singh
883f27aa9a
test cases for record.to_xml [ #458 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-30 13:19:30 +02:00
José Valim
34908e4a66
Updated the generators guide.
2010-04-30 12:50:42 +02:00
José Valim
cde168edbb
Update generators to use thor 0.13.6 with simpler source_root handling.
2010-04-30 12:42:12 +02:00
José Valim
7b98d2aa59
Reorganize the mailer generator a bit.
2010-04-30 12:11:38 +02:00
rohit
2c7f7738c3
more fixes and updated the changelog
2010-04-30 12:21:29 +05:30
rohit
0b41aa9b2c
fixes to tags section
2010-04-30 12:09:53 +05:30
rohit
7d0027554b
Rewrote Security para and a minor fix
2010-04-30 11:24:32 +05:30
Rohit Arondekar
0bd631419e
Rewrote para for clarity and better reading
2010-04-29 22:39:08 -07:00