Commit Graph

18116 Commits

Author SHA1 Message Date
Neeraj Singh
a64cc69d61 Replacing superclass_delegating_accessoror with class_attribute.
:store_full_sti_class will have value true or false so there is no
danger of mutability here.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-31 17:45:06 +02:00
Neeraj Singh
1620f572bf Replacing superclass_delegating_accessoror with class_attribute.
:partial_attributes will have value true or false so there is no
danger of mutability here.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-31 17:45:06 +02:00
Neeraj Singh
8402488568 adding new test for ActiveModel::Serialization
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-31 17:45:03 +02:00
Santiago Pastorino
94b850c661 Bring back build to the initialization guide 2010-08-31 11:54:07 -03:00
wycats
58d3b90423 Speed up form_for by specializing extract_options! (at asakusa.rb) 2010-08-31 20:33:28 +09:00
wycats
c05f24c824 Speed up content_tag_for by simplifying needed logic 2010-08-31 19:52:26 +09:00
Xavier Noria
3805d01c9b resolves merge conflict 2010-08-31 00:24:05 +02:00
Pratik Naik
c30f6c270d User.each is a lie 2010-08-30 23:05:14 +01:00
Joost Baaij
19d99971f7 Remove mention of InstantRails, it is completely obsolete.
Mention RubyInstaller instead which is actually quite pleasant and runs Rails fine.
2010-08-30 21:31:42 +02:00
Joost Baaij
49028f6112 Merge branch 'master' of github.com:lifo/docrails 2010-08-30 21:20:21 +02:00
Joost Baaij
66998c9662 Merge branch 'master' of github.com:lifo/docrails 2010-08-30 21:17:08 +02:00
Joost Baaij
7803bb015d Remove beta and RC paths in documentation 2010-08-30 21:16:53 +02:00
Xavier Noria
4c0d5d60f7 Revert "refer to guides since 3.0 is released now"
Reason: This is an exception. Thing is when you contribute to Rails you need to know how to proceed *now*, the instructions may be different than the ones published with some past release.

This reverts commit d1b239da4c.
2010-08-30 21:16:39 +02:00
Xavier Noria
e4c66d8fbf Revert "Revert "refer to guides since 3.0 is released now""
Wanted to revert a different commit with same message

This reverts commit 15d07981f6.
2010-08-30 21:14:29 +02:00
Xavier Noria
15d07981f6 Revert "refer to guides since 3.0 is released now"
Reason: This is an exception. Thing is when you contribute to Rails you need to know how to proceed *now*, the instructions may be different than the ones published with some past release.

This reverts commit 3d13dc88e2.
2010-08-30 21:08:54 +02:00
Joost Baaij
3d13dc88e2 refer to guides since 3.0 is released now 2010-08-30 21:03:07 +02:00
Joost Baaij
d1b239da4c refer to guides since 3.0 is released now 2010-08-30 21:00:24 +02:00
José Valim
d37a65307d Merge josevalim/deprecations branch.
I maintained on purpose the DeprecatedUrlOptions in ActionMailer and the Deprecated configuration in Railties because they were already addressed by Piotr in his RSoC work.
2010-08-30 15:55:10 -03:00
Damien Mathieu
414b68df1f fix the cache_fu links 2010-08-30 15:08:55 +02:00
Bryan Helmkamp
880f202591 Update README to match Rails 3 generated directory structure 2010-08-30 06:27:57 -04:00
Xavier Noria
b422cda2eb let String#strip_heredoc handle blank lines even if they are not indented 2010-08-30 10:39:34 +02:00
Akira Matsuda
db24aab624 The command for creating the sessions table has changed 2010-08-30 16:02:11 +09:00
Mikel Lindsaar
58d0e2c23c Adding option to ActiveResource to allow you to not reset the previously stored requests and responses by passing false to respond_to 2010-08-29 22:54:19 -07:00
Mikel Lindsaar
a299642293 Updating documentation on ActiveResource HTTP Mock and also adding test coverage 2010-08-29 22:54:19 -07:00
Jeremy Kemper
b861942691 Update CHANGELOGs for 3.0 release and upcoming 3.1 2010-08-29 22:06:48 -07:00
José Valim
3c8e1f99b9 Remove NonConcattingString. 2010-08-29 21:15:00 -03:00
José Valim
ba52748d05 Remove deprecated support to <% form_for %> and several ActionController::Base methods. 2010-08-29 21:08:14 -03:00
José Valim
800695ad4c Remove constants deprecation. 2010-08-29 20:48:32 -03:00
José Valim
f0ee4a6002 Remove deprecations in ActiveModel. 2010-08-29 20:45:34 -03:00
José Valim
972efa11fd Deprecate the old mailer API that was not deprecated yet. 2010-08-29 20:42:13 -03:00
Jeremy Kemper
ef572cad0a Bump arel to 1.0.1 2010-08-29 16:32:54 -07:00
José Valim
f5a43138d4 Remove the deprecated API from ActionMailer. 2010-08-29 19:57:51 -03:00
Loren Segal
01948fa8af Add .yardopts so YARD can document Rails 2010-08-30 06:59:36 +09:00
Xavier Noria
475ea14fd0 implements String#strip_heredoc 2010-08-29 23:52:38 +02:00
Xavier Noria
a302a333f8 revises a deprecation message 2010-08-29 22:47:18 +02:00
Santiago Pastorino
a70675cd94 -v=1.0.0 not needed 2010-08-29 16:53:20 -03:00
Santiago Pastorino
c1dbdecda5 Make CI install bundler stable since 1.0 is out 2010-08-29 16:19:44 -03:00
Santiago Pastorino
96c88db9f8 No more beta or rc on guides 2010-08-29 15:30:01 -03:00
David Heinemeier Hansson
e119aaecd6 Depend on Bundler 1.0 w/ tiny fixes 2010-08-29 13:25:52 -05:00
David Heinemeier Hansson
33afaa446f Depend on ARel 1.0 w/ tiny fixes 2010-08-29 13:25:45 -05:00
Sam Ruby
600cf8bebc Make rake routes gracefully handle routes with no name
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-08-29 14:38:29 -03:00
José Valim
82b700a89d Ensure we are not calling length on nil. 2010-08-28 22:54:42 -03:00
Santiago Pastorino
68a949bae7 PERF: Avoid two method calls 2010-08-28 21:35:20 -03:00
Jeremy Kemper
0d0c46abd1 Clean up CHANGELOGs 2010-08-28 15:45:14 -07:00
Mike Perham
390d285ef6 Support pluggable cache stores.
[#5486 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-08-28 15:43:10 -07:00
Joost Baaij
591e87fe7b Expanded routing documentation with current best practices 2010-08-29 00:04:14 +02:00
Joost Baaij
5ead15b075 Rework the routing documentation.
Move the default route to the bottom, as this practise should be discouraged.
Add documentation for resources, external redirects and Rack applications.
2010-08-28 23:24:02 +02:00
Jesse Storimer
730af48963 Ensure that inherited helper_methods are available after calling clear_helpers [#5348 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-28 18:07:01 -03:00
Fred Wu
83f4507cf1 Fixed the session name generated by the app_generator. Also refactored the corresponding test suites to be cleaner. [#5434 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-28 17:54:53 -03:00
yury
3e22e0b025 Micro optimization for build_named_route_call in PolymorphicRoutes:
1. use map instead of inject
2. use [].join("_") instead of '<<'. It is a little bit faster for ruby 1.9.2 and x2 faster for ruby 1.8.7. http://gist.github.com/548143

[#5450 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-28 17:54:50 -03:00