Tomasz Zurkowski
665322eaab
Fix indentation in code example of Delegation
2012-01-20 10:01:22 +01:00
Aaron Patterson
eb1b729408
push ivar initialization down to a common method
2012-01-19 18:32:58 -08:00
Aaron Patterson
17064acb3e
adding tests for previous_changes hash
2012-01-19 18:25:14 -08:00
Aaron Patterson
be7d2248e9
just use an alias. The target method is public, so make this one public
...
too.
2012-01-19 17:35:18 -08:00
Aaron Patterson
0c356109ff
remove unused captures
2012-01-19 17:08:53 -08:00
Aaron Patterson
642752c54d
avoid useless is_a checks
2012-01-19 14:39:13 -08:00
Aaron Patterson
8129a09589
move tagged logging to a module, stop proxying every method call
2012-01-19 13:44:00 -08:00
Trotter Cashion
018e4bff3c
Fix documentation bug in Rails::Engine
2012-01-19 13:09:16 -08:00
José Valim
16bd0cb1f0
Merge pull request #4546 from carlosantoniodasilva/response-body-performed
...
Use performed? instead of checking for response_body
2012-01-19 12:55:31 -08:00
Carlos Antonio da Silva
1b4edd173d
Use performed? instead of checking for response_body
...
* Check for performed? instead of response_body
* Change performed? to return a boolean
* Refactor AC::Metal#response_body= to reuse variable
2012-01-19 18:25:52 -02:00
Trotter Cashion
7b0312084d
Fix documentation bug in Rails::Engine
2012-01-19 12:14:32 -08:00
Aaron Patterson
0a3f57e85a
do not do reverse lookups on incoming requests for webrick. fixes #4542
2012-01-19 11:31:30 -08:00
Vijay Dev
c5ebbfaf5b
update release notes [ci skip]
2012-01-20 00:46:37 +05:30
Manu J
cf1f563473
Fix for log tailer when the log file doesn't exist.
2012-01-20 00:33:07 +05:30
José Valim
e2cc653876
Do not deprecate performed.
2012-01-19 19:52:10 +01:00
Vijay Dev
c4b8fd3e1e
add uglifier version info in the 'what to update' section
2012-01-19 23:30:04 +05:30
Vijay Dev
9798ed79b8
fix duplicate ids for the headers [ci skip]
2012-01-19 23:28:18 +05:30
Vijay Dev
1944cbbbe5
document AR::Base#with_lock in release notes [ci skip]
2012-01-19 23:21:28 +05:30
Vijay Dev
01d041af9d
update the getting_started guide code [ci skip]
2012-01-19 23:14:42 +05:30
Aaron Patterson
0056a7512a
Merge pull request #4531 from exviva/pessimistic_with_lock
...
Add ActiveRecord::Base#with_lock
2012-01-19 09:38:37 -08:00
Aaron Patterson
01cde0b246
Merge pull request #4538 from kennyj/should_use_uri_parse
...
Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code.
2012-01-19 09:30:08 -08:00
Vijay Dev
2c7ded31fb
Merge branch 'master' of github.com:lifo/docrails
2012-01-19 22:11:17 +05:30
Vijay Dev
ad3a129380
revising release notes [ci skip]
2012-01-19 22:10:40 +05:30
Vijay Dev
e95e932fbe
select doesn't take multiple arguments - fixes #4539 [ci skip]
...
Also, fixed the bit about returning AM::MissingAttributeError. This
seems to be fixed earlier in 3-2-stable only.
2012-01-19 21:53:37 +05:30
José Valim
5caf1bd214
Merge pull request #4532 from rafaelfranca/av-button_to-refactor
...
Refactor button_to helper to use token_tag method
2012-01-19 05:54:35 -08:00
Rafael Mendonça França
71597f9d51
Extract method_tag
2012-01-19 10:38:08 -03:00
Rafael Mendonça França
047097950f
Refactor button_to helper to use token_tag method
2012-01-19 10:37:21 -03:00
kennyj
d8b06dc5c2
Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code.
2012-01-19 20:27:16 +09:00
Simon Baird
faec7acc24
Fix small typo in mail_to docs in url_helper.rb
2012-01-19 17:33:29 +10:00
Fujimura Daisuke
5ef46189f6
update release note: timestamps is non-null as default
2012-01-19 12:09:46 +09:00
Piotr Sarnacki
b5134601ad
Merge pull request #4534 from lest/patch-1
...
refactor RAILS_CACHE deprecation
2012-01-18 17:05:18 -08:00
Sergey Nartimov
04d6ebb467
refactor RAILS_CACHE deprecation
...
that was introduced in 6f8159c4217dc8433a2027ced0c61e7ce94551d3
2012-01-19 02:20:32 +03:00
Olek Janiszewski
7afbc89c37
Add ActiveRecord::Base#with_lock
...
Add a `with_lock` method to ActiveRecord objects, which starts
a transaction, locks the object (pessimistically) and yields to the block.
The method takes one (optional) parameter and passes it to `lock!`.
Before:
class Order < ActiveRecord::Base
def cancel!
transaction do
lock!
# ... cancelling logic
end
end
end
After:
class Order < ActiveRecord::Base
def cancel!
with_lock do
# ... cancelling logic
end
end
end
2012-01-18 23:23:41 +01:00
Vijay Dev
d843a943b3
Merge branch 'master' of github.com:lifo/docrails
2012-01-19 02:50:59 +05:30
Vijay Dev
68d389a99a
revise wording [ci skip]
2012-01-19 02:50:37 +05:30
Guillermo Iguaran
9365f893fb
Adding Action Mailer section to 3.2 release notes
2012-01-18 14:43:59 -05:00
Guillermo Iguaran
fa52740dfa
Update Release Notes: sprockets-rails section should be inside of ActionPack section
2012-01-18 14:33:51 -05:00
José Valim
423b2626d8
Merge pull request #4527 from rafaelfranca/av-logger
...
Remove delegation to ActionController::Base
2012-01-18 11:04:41 -08:00
Rafael Mendonça França
e89a7f5cee
Test::Unit::Collector::ObjectSpace is not present anymore
2012-01-18 15:42:44 -03:00
Rafael Mendonça França
64a937affa
Remove delegation to ActionController::Base
2012-01-18 15:42:08 -03:00
Vijay Dev
660cc40644
Merge branch 'master' of github.com:lifo/docrails
2012-01-19 00:11:20 +05:30
Vijay Dev
de2e28d255
Revert "Remove redundant mention of escape_javascript alias."
...
This reverts commit d7f7f5ee560fafa7e9819786e41bf0ea6df7919b.
Reason: That isn't redundant IMO.
2012-01-19 00:01:47 +05:30
Vijay Dev
fa92bb4bf5
updates to 3.2 release notes
2012-01-18 23:53:47 +05:30
Vasiliy Ermolovich
f54b8468c7
remove ruby 1.8 related code
2012-01-18 20:57:24 +03:00
Aaron Patterson
b70236cfcb
Merge pull request #4523 from rafaelfranca/av-logger
...
Add ActionView own logger
2012-01-18 09:53:14 -08:00
Rafael Mendonça França
5a6ea53514
ActionView now has its own logger
2012-01-18 14:30:33 -03:00
José Valim
e154089710
Merge pull request #4522 from kennyj/fix_warning_20120119
...
Fix warning: assigned but unused variable - result
2012-01-18 08:45:33 -08:00
kennyj
38204eb1ce
Fix warning: assigned but unused variable - result
2012-01-19 01:43:59 +09:00
Rafael Mendonça França
1ad4a309e3
Update docs for config.assets.logger
2012-01-18 11:26:18 -02:00
José Valim
1430ed2284
Merge pull request #4517 from carlosantoniodasilva/form-builder-block
...
Refactor FormBuilder arguments and default config
2012-01-18 04:27:18 -08:00