Commit Graph

22225 Commits

Author SHA1 Message Date
Vijay Dev
448845cd0d replaced eg using old router api with the one in the guides. Add info on nesting with_options 2011-05-07 21:18:03 +05:30
Vijay Dev
ffb70cf256 minor fixes 2011-05-07 20:20:28 +05:30
Vijay Dev
6e83330590 fixes incorrect error message for sample method 2011-05-07 18:09:20 +05:30
Vijay Dev
3056b3379b use new AR calls in examples 2011-05-07 18:08:13 +05:30
Vijay Dev
7194b393a6 fix comment alignment 2011-05-07 18:07:42 +05:30
Vijay Dev
162bf8ffb1 revises comment for blank? method 2011-05-07 12:13:38 +05:30
Aditya Sanghi
5e235278c4 Made language consistent with the rest of the comments in the file. 2011-05-06 13:07:14 -07:00
Xavier Noria
ef2738472d Revert "Small edit to the if statement simplification for blank? on the Object class. An Object doesn't need to be nil and empty to be blank? just one or the other."
Reason: the original code is correct, see

    !nil && !empty -> !(nil || empty) -> !blank

That said, this example has too many negations
for my linking. Think should be revised to be
more positive and straightforward to read.

This reverts commit a4b6e3d9be.
2011-05-06 17:30:00 +02:00
Caley Woods
a4b6e3d9be Small edit to the if statement simplification for blank? on the Object class. An Object doesn't need to be nil and empty to be blank? just one or the other. 2011-05-06 08:23:12 -07:00
Jacob Poulsgaard Tjoernholm
9f9446f271 Update the description of the :path option to #resources to reflect that it sets the actual path, not a prefix. Most instances were already fixed. 2011-05-06 10:26:17 +02:00
Paul Morganthall
6df7a223ca Restore emphasis on 'application name'. 2011-05-05 12:19:01 -07:00
Jason Voegele
f649d137c0 Merge branch 'master' of github.com:lifo/docrails 2011-05-05 10:03:07 -07:00
Jason Voegele
0f7827ca34 Added info on using Ehcache as cache store. 2011-05-05 09:22:03 -07:00
Paul Morganthall
210ebd3623 Rails 3 requires the "new" command to create a new project. 2011-05-05 09:05:40 -07:00
Sebastian Martinez
6826936335 Improve doc styles for ActiveModel::Conversion 2011-05-04 22:49:11 -03:00
Josh Kalderimis
8e69f1eb20 minor correction to the ActionDispatch::Http::URL subdomain docs 2011-05-04 21:53:10 +02:00
Sebastian Martinez
6372d23616 Fix punctuation errors. 2011-05-04 15:51:47 -03:00
Xavier Noria
aada1a4f78 Merge branch 'master' of github.com:rails/rails 2011-05-04 20:15:34 +02:00
Xavier Noria
47e1cca5dc Merge branch 'master' of git://github.com/lifo/docrails 2011-05-04 20:15:00 +02:00
José Valim
871096d854 Merge pull request #387 from smartinez87/remove_method.
Use #remove_possible_method instead
2011-05-04 11:14:57 -07:00
Sebastian Martinez
9be7911e87 Use #remove_possible_method instead here 2011-05-04 15:13:40 -03:00
Vijay Dev
2076295aba commented meta code 2011-05-04 23:42:29 +05:30
José Valim
afc3ccf74c Fix renew feature on cookies. 2011-05-04 20:12:27 +02:00
Vijay Dev
3e7a8ccdc4 formatting results in comments 2011-05-04 23:38:21 +05:30
Sebastian Martinez
1c2dc92aae Use #remove_possible_method instead 2011-05-04 15:07:34 -03:00
José Valim
6b79463ed8 Fix .subdomain regression. 2011-05-04 20:05:35 +02:00
José Valim
a93bd11b1d Use remove possible method here. 2011-05-04 19:31:43 +02:00
José Valim
85b8a88d87 Relax this dependency a bit. 2011-05-04 19:30:23 +02:00
José Valim
f6dc816367 Let's run those precious tests against the gem. 2011-05-04 18:46:19 +02:00
José Valim
92661b0c50 Move sandbox to AR and pass the sandbox as a value. This way, other ORMs like Datamapper can also have their own sandboxing in rails console. 2011-05-04 16:47:35 +02:00
José Valim
b9bba555ca Remove defined?(ActiveRecord) and use the railtie hook instead. 2011-05-04 16:32:24 +02:00
Xavier Noria
cea3b3cc9d Merge branch 'master' of git://github.com/lifo/docrails 2011-05-04 14:51:04 +02:00
Xavier Noria
897318f4ee fixes typo in railties/CHANGELOG (spotted by Vijay Dev) 2011-05-04 12:10:38 +02:00
José Valim
1632a3a49f More AV::Base cleanup. 2011-05-04 12:07:37 +02:00
Xavier Noria
30bb17e5e0 Merge pull request #384 from arunagw/new_plugin_test.
Fixed tests for new_plugin_generator.
2011-05-04 02:54:18 -07:00
Arun Agrawal
dd9200c32e Fixed tests for new_plugin_generator. 2011-05-04 15:07:06 +05:30
José Valim
6afc900191 Move prefixes to view paths as they are now a lookup context dependency. 2011-05-04 11:28:37 +02:00
Xavier Noria
d9c39c3ae9 restores the -j option, but now it accepts the name of any library
If passed "foo", a gem "foo-rails" is added to the Gemfile
and "foo" and "foo_ujs" are required in the application
JavaScript manifest.
2011-05-04 10:33:53 +02:00
Xavier Noria
5d2cdb190a removes the :update_ujs task in railties 2011-05-04 10:33:53 +02:00
Xavier Noria
33567d1d7b jQuery is no longer vendored 2011-05-04 10:33:53 +02:00
José Valim
c9fa3f03fe Also allow prefixes as third argument to lookup context. 2011-05-04 09:07:11 +02:00
José Valim
4758d37044 Merge remote branch 'apotonick/presentation' 2011-05-04 08:37:59 +02:00
Sebastian Martinez
24586edae2 Remove extra whitespaces 2011-05-03 21:38:19 -03:00
Sebastian Martinez
0ee2513356 Improves Mysql2 adapter docs 2011-05-03 21:26:02 -03:00
Sebastian Martinez
fab9bb77bf Added #recreate_database docs 2011-05-03 21:25:38 -03:00
Sebastian Martinez
f049062497 Fixes on schema_definitions docs 2011-05-03 21:11:17 -03:00
Nick Sutterer
eb327c1bab no @controller dependency in Renderers. 2011-05-04 00:12:11 +02:00
Nick Sutterer
b4bc2c50ca fixed test to assert initialization value. 2011-05-04 00:11:34 +02:00
Nick Sutterer
88c21121f1 initialize prefixes in LookupContext. 2011-05-04 00:10:21 +02:00
Nick Sutterer
65ceccb0ba controller's prefixes are now added to LookupContext. 2011-05-03 23:41:38 +02:00