- 09 8月, 2012 3 次提交
-
-
由 David Heinemeier Hansson 提交于
Allow data attributes to be set as a first-level option for form_for, so you can write `form_for @record, data: { behavior: 'autosave' }` instead of `form_for @record, html: { data: { behavior: 'autosave' } }` *DHH*
-
由 Rafael Mendonça França 提交于
Fix just-plain-wrongness of psql auto-reconnect test.
-
由 David Heinemeier Hansson 提交于
-
- 08 8月, 2012 12 次提交
-
-
由 Rafael Mendonça França 提交于
We recommend the use of Unobtrusive JavaScript instead. For example: link_to "Greeting", "#", :class => "nav_link" $(function() { $('.nav_link').click(function() { // Some complex code return false; }); }); or link_to "Greeting", '#', onclick: "alert('Hello world!'); return false", class: "nav_link" for simple cases. This reverts commit 3acdd652.
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
Observers are no longer important enough to get this configuration option called out at the top level
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Erich Menge 提交于
Reason: ActiveSupport::JSON::Variable is not used anymore internally. It was deprecated in 3-2-stable but we reverted all the deprecation for point releases. See #6536 and #6546. Conflicts: activesupport/lib/active_support/json/variable.rb
-
由 Steve Jorgensen 提交于
Full test requiring manual intervention was fine, but w/ simulated disconnect, assertion was backward & still passing. Was several kinds of wrong.
-
由 Aaron Patterson 提交于
-
由 José Valim 提交于
Reverting because it feels backward to specify a delivery to not be performed while the e-mail is being composed. It is simpler (and makes more sense) to delegate the responsibility to the calling code.
-
由 David Heinemeier Hansson 提交于
Revert "Merge pull request #7033 from kron4eg/master". Not a a fan at all of what this makes ERB files look like. This reverts commit 46b8bcee, reversing changes made to 2f58795e.
-
由 David Heinemeier Hansson 提交于
Revert "The application generator generates `public/humans.txt` with some basic data". I dont consider this something most people is going to want most of the time. If you want to add it in your own app, knock yourself out. But it doesnt belong in Rails imo
-
- 07 8月, 2012 9 次提交
-
-
由 Santiago Pastorino 提交于
Restore "%" ERb/Erubis Trim Mode
-
由 Xavier Noria 提交于
-
由 Artiom Di 提交于
Restoring the '%' trim mode for ERb templates, allowing for a leading percent sign on a line to indicate non-inserted Ruby code.
-
由 Rafael Mendonça França 提交于
Do not include application.js if it doesn't exists
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
Rails were including 'application.js' to the pack when using `javascript_include_tag :all` even there's no application.js in the public directory.
-
由 Rafael Mendonça França 提交于
add changelog for #7202
-
由 Aditya Sanghi 提交于
-
由 Rafael Mendonça França 提交于
Add AS::StringInquirer#respond_to? method
-
- 06 8月, 2012 7 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aleksey Magusev 提交于
Consistently with #method_missing
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Make sure :environment task is executed before db:schema:load or db:structure:load
-
由 Rafael Mendonça França 提交于
-
由 Xavier Noria 提交于
Selecting which key extensions to include in active_support/rails made apparent the systematic usage of Object#in? in the code base. After some discussion in https://github.com/rails/rails/commit/5ea6b0df9a36d033f21b52049426257a4637028d we decided to remove it and use plain Ruby, which seems enough for this particular idiom. In this commit the refactor has been made case by case. Sometimes include? is the natural alternative, others a simple || is the way you actually spell the condition in your head, others a case statement seems more appropriate. I have chosen the one I liked the most in each case.
-
- 05 8月, 2012 6 次提交
-
-
由 Jon Leighton 提交于
Changing AR:CollectionAssociation#empty? to use #exists?
-
由 beerlington 提交于
COUNT(*) queries can be slow in PostgreSQL, #exists? avoids this by selecting a single record.
-
由 Rafael Mendonça França 提交于
Remove warning: `*' interpreted as argument prefix
-
由 Arun Agrawal 提交于
-
由 Andrew White 提交于
Passing options as the last value in an array doesn't work with form_for. This reverts commit 61c8a4d9.
-
由 Andrew White 提交于
Passing options as the last value in an array doesn't work with form_for. This reverts commit 6be564c7.
-
- 04 8月, 2012 3 次提交
-
-
由 Santiago Pastorino 提交于
Refator route set
-
由 Bogdan Gusiev 提交于
-
由 Bogdan Gusiev 提交于
-