Jon Leighton
8bba95f293
Just do the method call directly in Module#delegate, if we can (we cannot for method names ending in '='). Two reasons: 1) it's faster, see https://gist.github.com/1089783 and 2) more importantly, delegate should not allow you to accidentally call private or protected methods.
2011-08-15 12:38:38 +01:00
Jon Leighton
6f4b405250
Backport Object#public_send to 1.8 so that we can implement Module#delegate such that non-public methods raise
2011-08-15 12:08:23 +01:00
José Valim
652ab436db
Ensure changing RAILS_GROUPS will load the proper dependencies.
2011-08-14 10:52:46 -07:00
José Valim
99f87c9ad3
Merge pull request #2527 from cesario/fix_2511
...
Methods like status and location are interfering with redirect_to [Closes #2511 ]
2011-08-14 10:04:14 -07:00
Franck Verrot
75dd33a0ae
Methods like status and location are interfering with redirect_to [ Closes #2511 ]
2011-08-14 19:00:30 +02:00
Xavier Noria
bf2b9d2de3
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
RELEASING_RAILS.rdoc
actionpack/lib/sprockets/railtie.rb
actionpack/test/template/sprockets_helper_test.rb
activerecord/test/cases/calculations_test.rb
railties/guides/source/3_1_release_notes.textile
railties/guides/source/active_resource_basics.textile
railties/guides/source/command_line.textile
2011-08-13 16:30:07 -07:00
Waynn Lue
f566fb32c4
"suits" is correct here, not "suites"
2011-08-13 16:22:35 -07:00
Oge Nnadi
aa0d3cece8
Typo fix
2011-08-13 16:22:35 -07:00
Sebastian Martinez
0196f0feb1
Some fixes on the 3_1_release_notes guide.
2011-08-13 16:22:35 -07:00
geemus
53e1a9d411
update abstract_controller callbacks to document meta-programmed filters
2011-08-13 16:22:35 -07:00
Vishnu Atrai
54cd73e20d
ActiveModel::Validations basic guide
2011-08-13 16:22:35 -07:00
Florent Guilleux
56efdbc626
Document exclamation point on dynamic finders
2011-08-13 16:22:34 -07:00
Emili Parreño
1b0d03b5db
update rails on rack guide, section 2 needs to be changed or maybe deleted
2011-08-13 16:22:34 -07:00
Mr. Wolfe
635c1ca007
Revert "update rails on rack guide, section 2 needs to be changed or maybe deleted"
...
This reverts commit 7a4e545eccf834cb620df0f909ef3f4bec4e6608.
2011-08-13 16:22:34 -07:00
Mr. Wolfe
3b4e7c9f8e
update rails on rack guide, section 2 needs to be changed or maybe deleted
2011-08-13 16:22:34 -07:00
Waynn Lue
76158146eb
comma is more appropriate here
2011-08-13 16:22:34 -07:00
Floris Huetink
9cf56c709b
Fixed typo (attachments method name was missing an s) in Action Mailer basics guide
2011-08-13 16:22:34 -07:00
Tate Johnson
239e615316
Fixed typo
2011-08-13 16:22:33 -07:00
Richard Hulse
49e81f21a3
[asset pipeline] update snippet to reflect patch
...
Two commented lines in example to match the
commit (8845ae683e )
2011-08-13 16:22:33 -07:00
Richard Hulse
32da2f864e
[asset pipeline] update to reflect new sendfile header default
...
X-Sendfile headers are now set to nil and are off by default.
See commit eff7fddeb2
2011-08-13 16:22:33 -07:00
Vijay Dev
93ec7bb59a
3.1 release notes: fixed font changes
2011-08-13 16:22:33 -07:00
ov3y
8c133fc4c0
Point to current, official upgrade plugin
2011-08-13 16:22:33 -07:00
Richard Hulse
b840d71bfb
[asset pipeline] Update Capistrano info
...
v2.8.0 of Capistrano has a recipe to handle precompile
and symlinking.
2011-08-13 16:22:33 -07:00
Vijay Dev
dbf22560c6
3.1 release notes: organize action_pack notes
2011-08-13 16:22:32 -07:00
JudeArasu
8320fbb3b0
prototype switch
2011-08-13 16:22:32 -07:00
Vijay Dev
31b820eef9
expand tmp:* tasks, and a few more additions in the command line guide
2011-08-13 16:22:32 -07:00
Vijay Dev
bc9eaf422d
indentation fixes
2011-08-13 16:22:32 -07:00
Sukeerthi Adiga G
86ae14df47
Dirty object methods added to active model basics
2011-08-13 16:22:32 -07:00
Vishnu Atrai
a3cf68291d
ActiveModel::Conversion basic guide
2011-08-13 16:22:32 -07:00
Vishnu Atrai
d5adaf2d38
ActiveModel::Callbacks basic guide
2011-08-13 16:22:32 -07:00
Vishnu Atrai
33d7a6bc55
ActiveModel::Callbacks basic guide
2011-08-13 16:22:31 -07:00
Richard Hulse
bc49d6d1eb
[asset pipeline] fixed example
...
Changed << to += because we are _concatenating_
this new array to the end of config array, NOT
pushing this array in it.
2011-08-13 16:22:31 -07:00
Sukeerthi Adiga
b905f8c963
Rubygems => RubyGems
2011-08-13 16:22:31 -07:00
Waynn Lue
2579d88405
capitalize RubyGems properl
2011-08-13 16:22:31 -07:00
Waynn Lue
a7b2867061
rephrase "like to be"
2011-08-13 16:22:31 -07:00
Vishnu Atrai
9eb3e637fb
AttributeMethods refector suffix method added some usages
2011-08-13 16:22:31 -07:00
Sukeerthi Adiga G
7963099b90
ActiveResource::Validations module basics updated
2011-08-13 16:22:30 -07:00
Vishnu Atrai
4bde1b0041
ActiveModel::AttributeMethods basic guide
2011-08-13 16:22:30 -07:00
Arun Agrawal
ac287b2aa0
Adding Basic file for ActiveModel. @vatrai and @sukeerthiadiga is going to take care other detailed stuff.
2011-08-13 16:22:30 -07:00
Aaron Patterson
c8e5c0d2b9
we should not ignore all gems in here
2011-08-13 16:22:30 -07:00
Santiago Pastorino
5852fcfb11
Add git push and git push --tags to RELEASING_RAILS.rdoc
2011-08-13 16:22:30 -07:00
Aaron Patterson
5399b20287
moving CI and Sam Ruby to the top of the list. I ❤️ CI and Sam
2011-08-13 16:22:30 -07:00
Aaron Patterson
bf0b6e4b8b
add section about notifying implementors
2011-08-13 16:22:30 -07:00
Aaron Patterson
a7a3169cc3
fixing assert_difference issues on ruby 1.8
2011-08-13 16:22:29 -07:00
Aaron Patterson
886d0115dc
fixing wrong words. thanks @jbrown
2011-08-13 16:22:29 -07:00
Casebook Developer
ebfca248f9
ActionView::Helpers::TextHelper#simple_format should not change the text in place. Now it duplicates it.
2011-08-13 16:22:29 -07:00
Aaron Patterson
6b80917314
adding my brain dump of the release process
2011-08-13 16:22:29 -07:00
Waynn Lue
68c4b66015
fix stringify_keys destructive behavior for most FormTagHelper functions
...
add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355
2011-08-13 16:22:29 -07:00
Jon Leighton
66e114cd0c
Quote these dates to prevent intermittent test failure. Suppose local time is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved.
2011-08-13 16:22:29 -07:00
Santiago Pastorino
f2ea1ddc27
Fix a bit precompile and lazy compile comments
2011-08-13 16:22:28 -07:00