Commit Graph

22720 Commits

Author SHA1 Message Date
José Valim
e4ebded5bc Use Rack::ContentLength. 2011-05-19 12:35:07 -04:00
Michael Koziarski
2c08a74855 Merge pull request #1097 from kirillrdy/master
Improved "treat  0000-00-00 00:00:00 as nil Date"
2011-05-19 09:13:54 -07:00
Michael Koziarski
feddf311dc Merge pull request #1118 from amatsuda/pp_console
always enable `pp` on the Rails console
2011-05-19 09:05:08 -07:00
José Valim
bcdb68155a Merge pull request #1151 from joshk/wrap_params_options_change
renamed the wrap_parameters :only and :except options to :include and :ex
2011-05-19 07:51:11 -07:00
Joshua Peek
4cf4c7f454 Merge pull request #1150 from stevenbristol/master
The cookie jar does not to_s cookie names (keys)
2011-05-19 07:34:52 -07:00
Josh Kalderimis
968596fa7f renamed the wrap_parameters :only and :except options to :include and :exclude to make it consistent with controller filters 2011-05-19 10:33:25 -04:00
steve
2d50887b24 adding test 2011-05-19 10:33:18 -04:00
steve
7c000af867 fixing sym and string cookie name, two cookies to browser bug. 2011-05-19 09:49:16 -04:00
José Valim
95bd19911a Merge pull request #1137 from guilleiguaran/each_syntax_in_activemodel
Prefer 'each' instead of 'for in'
2011-05-19 05:02:06 -07:00
José Valim
5281c296e6 Merge pull request #1136 from arunagw/actionmailer_readme
Actionmailer readme
2011-05-19 04:51:08 -07:00
José Valim
b5fec0f2a0 Merge pull request #1135 from arunagw/for_to_each
README updated for for => each
2011-05-19 04:48:06 -07:00
Guillermo Iguaran
ec1993c33f Prefer each instead of for in 2011-05-19 01:25:31 -05:00
Arun Agrawal
e3eaeb490a Example Usage updated for actionpack and actionmailer. 2011-05-19 09:17:49 +05:30
Arun Agrawal
8630cd420c README updated for for => each 2011-05-19 09:03:46 +05:30
José Valim
a921cab621 Merge pull request #1109 from dlee/optimize_indifferent_access
Use dup to preserve previous behavior
2011-05-18 15:04:37 -07:00
Xavier Noria
b13d24e5b9 Merge branch 'master' of git://github.com/lifo/docrails 2011-05-18 22:50:44 +02:00
José Valim
ab42f9c9e3 Merge pull request #1133 from joshk/options_merger_test
Fix misspelling of 'lambda'. Closes #987
2011-05-18 13:03:30 -07:00
Ben Orenstein
86491476d5 Fix misspelling of 'lambda'. Closes #987 2011-05-18 15:59:08 -04:00
José Valim
0ab21539c9 Merge pull request #1132 from joshk/ares_changelog
Updated the ActiveResource changelog
2011-05-18 12:56:09 -07:00
José Valim
200708e7ed Merge pull request #1131 from joshk/active_model_xml_fix
Attributes with :string type should not be given the type passed in model. Closes #1058.
2011-05-18 12:55:28 -07:00
Jim Herzberg
fbf99653f1 Attributes with :string type should not be given the type passed in model serialization options. Closes #1058 2011-05-18 15:52:55 -04:00
Josh Kalderimis
c88f7e81aa updated the ActiveResource changelog 2011-05-18 14:40:35 -04:00
Santiago Pastorino
3a5a378056 Merge pull request #1129 from amatsuda/pgsql_schema_query_format
on.upcase!
2011-05-18 09:34:50 -07:00
Akira Matsuda
0cd38a4af1 on.upcase! 2011-05-19 01:29:34 +09:00
Aaron Patterson
66afefdd79 Merge pull request #1122 from amatsuda/postgres_schema_queries
improvements on PostgreSQL schema queries
2011-05-18 09:05:18 -07:00
José Valim
77b70c72a8 Merge pull request #1126 from sikachu/bump_rack_mount
Update Rack::Mount to 0.8.1
2011-05-18 08:53:38 -07:00
Prem Sichanugrist
6d3b89b372 Update Rack::Mount to 0.8.1 2011-05-18 11:32:34 -04:00
José Valim
f7df1f8bf3 Merge pull request #1124 from amatsuda/fix_railties_warnings
Fix railties warnings
2011-05-18 07:27:19 -07:00
Akira Matsuda
cce461511b be sure to parenthesize the arguments when the first one is a RegExp literal
this fixes: "warning: ambiguous first argument; put parentheses or even spaces"
because: you need this to tell the parser that you're not calling :/ method (division)
details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
2011-05-18 23:20:19 +09:00
Akira Matsuda
32b9cefb63 parenthesize the arguments with splat
to make sure we're not calling the :* operator
2011-05-18 23:19:13 +09:00
Akira Matsuda
9aa10a79f9 initialize @inside_template
fixes: "warning: instance variable @inside_template not initialized"
2011-05-18 23:19:13 +09:00
José Valim
505defc27e Merge pull request #1115 from joshk/active_resource_json_updates
ActiveResource json updates
2011-05-18 06:13:44 -07:00
José Valim
22ab2316ac Merge pull request #1123 from amatsuda/generator_for_to_each
change `for ... in` in the generator templates to Enumerator#each
2011-05-18 06:10:11 -07:00
José Valim
9968b95b60 Merge pull request #1117 from joshk/as_numeric_time
Add some missing requires for AS core_ext/numeric/time. Closes #1038
2011-05-18 06:08:06 -07:00
José Valim
1ccacd4ee3 Merge pull request #1116 from guilleiguaran/typo_in_app_generator_test
Fixing typo in test for turn gem
2011-05-18 06:04:30 -07:00
Akira Matsuda
22ed6cb798 for ... in => .each
I believe this is more modern way
2011-05-18 21:08:08 +09:00
Xavier Noria
9d8e2fb5e2 set log encoding to BINARY, but still use text mode to output portable newlines 2011-05-18 12:43:29 +02:00
Akira Matsuda
486a890505 why not use JOIN statement for joining tables? (vol. 2) 2011-05-18 18:51:03 +09:00
Akira Matsuda
df13f55d75 remove unused table from FROM clause
pg_namespace has not been used since this commit 29b0707f07
2011-05-18 18:50:33 +09:00
Akira Matsuda
a61556387a why not use JOIN statement for joining tables? 2011-05-18 18:50:33 +09:00
Akira Matsuda
d54c7781f2 always enable pp on the Rails console 2011-05-18 16:51:42 +09:00
Malcolm Locke
1c9a9d9bd2 Explicitly use ActiveRecord::IrreversibleMigration 2011-05-18 19:22:05 +12:00
David Lee
96acdfbf2a Test that HWIA.with_indifferent_access does not return self 2011-05-17 22:56:28 -07:00
Josh Kalderimis
3018f47276 add some missing requires for AS core_ext/numeric/time. Closes #1038 2011-05-18 01:32:26 -04:00
Guillermo Iguaran
d52fc25ac7 Fixing typo in test for turn gem 2011-05-18 00:31:01 -05:00
José Valim
2692d3278a Merge pull request #1112 from FLOChip/turn
add test case for turn gem for testunit.
2011-05-17 21:44:21 -07:00
José Valim
c2105d3b20 Merge pull request #1114 from arunagw/databaseyml_doc
Putting back mysql2 and sqlite3 in database.yml docs. In case people use
2011-05-17 21:42:50 -07:00
Josh Kalderimis
00958696d8 corrected some further tests and docs for the ARes change to json change 2011-05-18 00:34:10 -04:00
Josh Kalderimis
b641ab5bae removed a contrived ARes example 2011-05-18 00:34:09 -04:00
Josh Kalderimis
6b4bbb4274 updated all the tests in ARes to work with json 2011-05-18 00:34:09 -04:00