aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11370 from dpdawson/masterRafael Mendonça França2013-07-081-1/+1
|\ | | | | Fix a grammatical error/typo in Active Record Migrations guide. [ci skip]
| * Fix a grammatical error/typo in Active Record Migrations guide. [ci skip]Daniel Dawson2013-07-081-1/+1
|/
* refactor to_sql so it does not depend on the to_sql implementation ofAaron Patterson2013-07-081-4/+11
| | | | the connection
* Merge pull request #11355 from wangjohn/class_for_rails_commandsRafael Mendonça França2013-07-082-94/+172
|\ | | | | Creating a class for carrying out rails commands.
| * Creating a class for carrying out rails commands.wangjohn2013-07-072-94/+172
| | | | | | | | | | | | This class encapsulates a lot of logic that wasn't very object oriented. Helper methods have been created to try to make things more logical and easy to read.
* | Merge pull request #11367 from artemeff/sass_in_notesRafael Mendonça França2013-07-083-2/+8
|\ \ | | | | | | handle notes in *.sass files
| * | handle notes in *.sass filesYuri Artemev2013-07-083-2/+8
| | |
* | | Merge pull request #11363 from dpdawson/masterCarlos Antonio da Silva2013-07-081-2/+2
|\ \ \ | |/ / |/| | Fix 2 grammatical errors/typos in Active Record Basics guide. [ci skip]
| * | Fix 2 grammatical errors/typos in Active Record Basics guide. [ci skip]Daniel Dawson2013-07-081-2/+2
|/ /
* | Merge pull request #11359 from willnet/patch-1Yves Senn2013-07-081-1/+0
|\ \ | | | | | | Update 'Active Record Migrations' guide [ci skip]
| * | Update 'Active Record Migrations' guide [ci skip]Shinichi Maeshima2013-07-081-1/+0
| |/ | | | | | | Delete an unneeded line.
* | Fix SyntaxError in guides sample codeAkira Matsuda2013-07-081-1/+1
| | | | | | | | [ci skip]
* | 1.9 Hash SyntaxAkira Matsuda2013-07-084-4/+4
| |
* | params keys are StringsAkira Matsuda2013-07-081-13/+13
|/
* Add CHANGELOG entry for #11348Rafael Mendonça França2013-07-071-0/+14
|
* Merge pull request #11348 from sanemat/fix/link-to-blockRafael Mendonça França2013-07-072-1/+8
|\ | | | | Fix actionview link_to with block and url_hash
| * Include block in a argument shiftsanemat2013-07-081-6/+2
| |
| * Fix link_to with block and url_hashsanemat2013-07-072-1/+12
| | | | | | | | | | | | Use link_to with block and url_hash, expect block as name. But ignore block and use url_hash as name. 3-2-stable passes this test. 4-0-stable and master fail this.
* | Fix "Stack Level Too Deep" error when rendering recursive partialsRafael Mendonça França2013-07-075-3/+40
| | | | | | | | | | | | | | When rendering recursive partial Action View is trying to generate the view digest infinitly causing a stack level error. Fixes #11340
* | Merge pull request #11347 from ankit8898/refactoring-spRafael Mendonça França2013-07-074-109/+92
|\ \ | | | | | | Refactored strong parameters usage and updated Gemfile.lock with Rails 4
| * | Refactored strong paramters usage and updated Gemfile.lock with Rails 4Ankit Gupta2013-07-074-109/+92
| | |
* | | Merge pull request #11317 from ma2gedev/enforcer_tag_optionRafael Mendonça França2013-07-073-2/+39
|\ \ \ | | | | | | | | Added an `enforce_utf8` hash option for `form_tag` method
| * | | Added an `enforce_utf8` hash option for `form_tag` methodTakayuki Matsubara2013-07-073-2/+39
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Control to output a hidden input tag with name `utf8` without monkey patching Before: form_tag # => '<form>..<input name="utf8" type="hidden" value="&#x2713;" />..</form>' After: form_tag # => '<form>..<input name="utf8" type="hidden" value="&#x2713;" />..</form>' form_tag({}, { :enforce_utf8 => false }) # => '<form>....</form>'
* | | Merge pull request #11274 from arunagw/deprecation-removed-build-fixedRafael Mendonça França2013-07-071-20/+0
|\ \ \ | |/ / |/| | Deprecation removed build fixed
| * | Removed unused test for DateTime.local_offsetArun Agrawal2013-07-071-20/+0
| | | | | | | | | | | | see discussion here #11274
* | | Merge pull request #11313 from gsamokovarov/url-encoded-params-testRafael Mendonça França2013-07-061-25/+27
|\ \ \ | | | | | | | | Cleanup ul_encoded_params_parsing_test
| * | | Cleanup ul_encoded_params_parsing_testGenadi Samokovarov2013-07-051-25/+27
| | | |
* | | | Merge pull request #11324 from blahedo/masterRafael Mendonça França2013-07-066-27/+53
|\ \ \ \ | | | | | | | | | | Cleanup on getting_started tutorial
| * | | | Cleaned up wording and tags.blahedo2013-07-066-27/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced <br /> with <br> for consistency; Added note about singular/plural distinction (which was previously confusing to a Rails noob); Rephrased explanation of how form is routed to controller, again to reduce confusion; and added explanation to replace incorrect link. [ci skip]
* | | | | Merge pull request #11336 from ankit8898/performance-bmRafael Mendonça França2013-07-061-1/+13
|\ \ \ \ \ | | |_|_|/ | |/| | | Some performance benchmarking for take vs limit
| * | | | Some performance benchmarking for take vs limitAnkit Gupta2013-07-061-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added a dummy progress bar during insert of records so it shows something is happening. Performance report Model.take 6198.9 (±13.4%) i/s - 121743 in 20.042671s Model.take! 6173.6 (±13.6%) i/s - 121242 in 20.057006s Model.all limit(100) 107.8 (±15.8%) i/s - 2106 in 20.022316s Model.all take(100) 105.2 (±15.2%) i/s - 2061 in 20.062509s
* | | | | Merge pull request #11339 from arunagw/running-actionpack-isolatedYves Senn2013-07-061-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Running isolated test for assertions and journey
| * | | | | Running isolated test for assertions and journeyArun Agrawal2013-07-061-1/+1
|/ / / / / | | | | | | | | | | | | | | | in actionpack
* | | | | Merge pull request #11337 from arunagw/actionview-rdocRafael Mendonça França2013-07-062-10/+0
|\ \ \ \ \ | | | | | | | | | | | | RUNNING_UNIT_TESTS tweaks.
| * | | | | actionpack not having activerecord tests [ci skip]Arun Agrawal2013-07-061-10/+0
| | | | | |
| * | | | | RUNNING_UNIT_TESTS file is in rdoc [ci skip]Arun Agrawal2013-07-061-0/+0
| | | | | |
* | | | | | fixes Rails version for the stable API [ci skip]Xavier Noria2013-07-062-1/+13
| | | | | |
* | | | | | Merge pull request #11306 from ↵Rafael Mendonça França2013-07-063-2/+50
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jetthoughts/11288_remove_extra_queries_for_belongs_to_with_touch #11288: Removed duplicated touching Conflicts: activerecord/CHANGELOG.md
| * | | | | | #11288: Removed duplicated touchingPaul Nikitochkin2013-07-053-2/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if belongs to model with touch option on touch Closes #11288
* | | | | | | fixes broken links in the API [Fixes #11335] [ci skip]Xavier Noria2013-07-061-2/+2
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #11332 from sanemat/fix/av-test-duplicationRafael Mendonça França2013-07-061-3/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | Remove actionview test duplication
| * | | | | Remove action view test duplicationsanemat2013-07-071-3/+0
|/ / / / / | | | | | | | | | | | | | | | Same test exists above 2 or 3 lines.
* | | | | Merge pull request #11329 from vipulnsward/cache_oneRafael Mendonça França2013-07-061-1/+3
|\ \ \ \ \ | | | | | | | | | | | | Extract common query to a constant.
| * | | | | Extract common query to a constant.Vipul A M2013-07-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Perf ref: https://gist.github.com/vipulnsward/8209749201dfdd678c97
* | | | | | Merge pull request #11327 from schuetzm/hash-with-indifferent-access-selectYves Senn2013-07-063-1/+12
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Make HashWithIndifferentAccess#select always return the hash.
| * | | | | Make HashWithIndifferentAccess#select always return the hash.Marc Schütz2013-07-063-1/+12
|/ / / / / | | | | | | | | | | | | | | | | | | | | Hash#select! returns nil if the hash didn't change and thus behaves differently from select, so it's return value can't be used as result for the latter.
* | | | | Merge pull request #11322 from blahedo/masterRafael Mendonça França2013-07-051-3/+1
|\ \ \ \ \ | | |/ / / | |/| | | Tidying "getting started" guide
| * | | | Merged sections to reflect current contents of guide.blahedo2013-07-051-3/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Section "allowing the update of fields" was now just a general introduction to the idea of the model (actual updating was two sections later). So, merged into the section about validation.
* | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-07-064-2/+43
|\ \ \ \
| * | | | [doc] fixed printing of code samplesArun Agrawal2013-07-021-1/+1
| | | | |