Commit Graph

22714 Commits

Author SHA1 Message Date
Aditya Sanghi
e4f6e6ad2d has_many :dependent => :restrict raises an exception but is not documented appropriately. has_one also has :dependent => :restrict but is not documented at all. 2011-05-22 04:47:04 -07:00
Anuj Dutta
023ca4fd48 Fixed documentation for scope with path. 2011-05-22 11:27:02 +01:00
Sebastian Martinez
31f09a2b18 Remove extra white spaces on guides. 2011-05-21 17:10:59 -03:00
Sebastian Martinez
0087ef9665 Remove extra white spaces. 2011-05-21 16:51:05 -03:00
Sebastian Martinez
bf50935a5d Add more doc to #update_column. 2011-05-20 21:56:08 -03:00
Uģis Ozols
ad3e057e48 Remove duplicate words. 2011-05-20 20:26:20 +03:00
Guillermo Iguaran
93570bb321 Changin 'for' with 'each' on FormHelpers guide 2011-05-19 22:33:43 -07:00
Guillermo Iguaran
d0373507e7 Using each instead of for in actionview guide 2011-05-19 22:30:51 -07:00
Guillermo Iguaran
22abbb862a Replacing 'for' with 'each' in actionmailer guide 2011-05-19 22:26:34 -07:00
Guillermo Iguaran
0cb812a50e Changing examples: use 'each' instead of 'for in' 2011-05-19 21:12:11 -07:00
Diego Plentz
0d310d590c fixes code highlight in shallow_path example 2011-05-19 17:38:15 -07:00
Sebastian Martinez
223f3117f1 Remove extra white-spaces. 2011-05-19 20:46:43 -03:00
John Paul Ashenfelter
3b18e900e8 Closes GH #1032
Fixed what looks like minor cut/paste error in documentation for ActiveRecord::Locking:Pessimistic
2011-05-19 01:20:26 -04: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 29b0707f07f148d98515125dab44b73cfdc0a3d4
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
Malcolm Locke
1c9a9d9bd2 Explicitly use ActiveRecord::IrreversibleMigration 2011-05-18 19:22:05 +12: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
Josh Kalderimis
4a9365ee18 move the ARes conn test to the correct location 2011-05-18 00:34:09 -04:00
Josh Kalderimis
6062017382 remove a circular dependency 2011-05-18 00:34:09 -04:00
Arun Agrawal
28cf893d6c Putting back mysql2 and sqlite3 in database.yml docs. In case people use "--skip-gemfile" 2011-05-18 10:00:27 +05:30
Evan Farrar
45faaee874 Prevent duplicable comments from being the opening paragraph for Object docs 2011-05-18 00:26:35 -04:00