aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* revises the contributing guide to document and encourage using the Rails ↵Xavier Noria2012-08-151-27/+33
| | | | development box
* Some release notes love :heart:Rafael Mendonça França2012-08-141-0/+31
|
* Add CHANGELOG entry and documentation for Routing ConcernsRafael Mendonça França2012-08-131-0/+30
|
* [guides] Add info about CHANGELOGs to contributing guidePiotr Sarnacki2012-08-111-0/+25
|
* Fallback to :en locale instead of handling a constant with defaultsCarlos Antonio da Silva2012-08-111-0/+2
| | | | | | | | Action Pack already comes with a default locale fine for :en, that is always loaded. We can just fallback to this locale for defaults, if values for the current locale cannot be found. Closes #4420, #2802, #2890.
* Add doc for config.action_dispatch.default_headersGuillermo Iguaran2012-08-101-0/+6
| | | | | Add documentation for config.action_dispatch.default_headers to Rails Configuring guide.
* fixup guides in light of :dependent changesJon Leighton2012-08-102-8/+12
|
* defines String#indent [closes #7263] [Xavier Noria & Ace Suares]Xavier Noria2012-08-071-0/+35
|
* removes usage of Object#in? from the code base (the method remains defined ↵Xavier Noria2012-08-062-3/+1
| | | | | | | | | | | | | | | | | | | by Active Support) 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.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-08-0411-99/+304
|\ | | | | | | | | | | Conflicts: activemodel/lib/active_model/secure_password.rb activerecord/lib/active_record/associations/collection_proxy.rb
| * copy edits [ci skip]Vijay Dev2012-08-042-7/+1
| |
| * Corrected info about asset pipeline default pathsAndrew Vit2012-08-041-4/+6
| |
| * added info about an error that mysql gives when rails@localhost has a ↵Ace Suares2012-08-031-1/+3
| | | | | | | | password; removed reference to activerecord/test/connections, which isn't there anymore
| * Update guides/source/asset_pipeline.textileMikhail Dieterle2012-08-031-1/+1
| |
| * Audit the usage of the word "JavaScript"Prem Sichanugrist2012-08-025-5/+5
| |
| * fixed wrong route for creating new post [ci skip]Mikhail Dieterle2012-08-021-9/+9
| | | | | | Now there is error ```No route matches [POST] “/posts”```
| * Fix a mistake in the I18n guide: English => Spanish [ci skip]David Celis2012-07-311-1/+1
| | | | | | | | Signed-off-by: David Celis <david@davidcelis.com>
| * Update I18n guide with details on multilingual Inflector [ci skip]David Celis2012-07-311-0/+4
| | | | | | | | | | | | Sorry; I forgot about the guides when I submitted this patch. Signed-off-by: David Celis <david@davidcelis.com>
| * Add 'Writing Rake Tasks' subsection to Command Line GuideNovikov Andrey2012-07-311-0/+47
| |
| * add mysql authentification command to chapter 2.Running the Test SuiteVladimir Strakhov2012-07-301-0/+4
| |
| * Update performance testing guide [ci skip]Francesco Rodriguez2012-07-241-78/+152
| | | | | | | | | | | | * Update test templates. * Remove some 1.8 references. * Update guide format to be easier for contributors.
| * fix removed ruby tag in commit 890b9dd [ci skip]Francesco Rodriguez2012-07-221-4/+5
| |
| * added 2 strategies for extending engine modelsWeston Platter2012-07-221-1/+78
| |
| * tiny mistake in descriptiondm1try2012-07-221-1/+1
| |
* | Update the docs to reflect the new association APIJon Leighton2012-08-031-272/+305
| |
* | AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-312-1/+10
| | | | | | | | | | | | | | User.order("name asc").order("created_at desc") # SELECT * FROM users ORDER BY created_at desc, name asc This also affects order defined in `default_scope` or any kind of associations.
* | Merge pull request #6827 from zephyr-dev/masterJosé Valim2012-07-271-0/+2
|\ \ | | | | | | Validates_presence_of associated object marked for destruction
| * | AR has a subclass of AM:PresenceValidator.Brent Wheeldon & Nick Monje2012-07-201-0/+2
| | | | | | | | | | | | | | | | | | | | | This allows us to mark the parent object as invalid if all associated objects in a presence validated association are marked for destruction. See: https://github.com/rails/rails/issues/6812
* | | Changelog and doc updates for the previous changes.Jon Leighton2012-07-271-15/+0
| | |
* | | New #update_columns method.Sebastian Martinez2012-07-241-0/+2
| | |
* | | update 4.0 release notes [ci skip]Vijay Dev2012-07-211-0/+2
| |/ |/|
* | remove references to :finder_sql, :counter_sql, :delete_sql, :insert_sql ↵Jon Leighton2012-07-202-55/+1
| | | | | | | | from guides
* | Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` optionCarlos Galdino2012-07-185-18/+16
| | | | | | | | | | | | | | | | | | This applies to the following helpers: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag`
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-07-157-23/+169
|\ \
| * | add note about requiring gem dependencies before initialization [ci skip]Francesco Rodriguez2012-07-131-6/+28
| | |
| * | Added note about feature requests and rails-core list.Steve Klabnik2012-07-131-0/+2
| | |
| * | Change Assertion language to Expected/Actual from obj1/obj2Scott Stewart2012-07-121-5/+5
| | |
| * | Fixes typo in CommentsController#create example Andy Lindeman2012-07-111-1/+1
| | | | | | | | | * comments.build will not actually persist the comment
| * | Fix typoChun-wei Kuo2012-07-111-1/+1
| | |
| * | [getting started] update a code listingSimon Hengel2012-07-101-0/+1
| | |
| * | Add info note about sass/coffeescript use in engine assets to guideMarten Veldthuis2012-07-091-0/+2
| | |
| * | Fixed second assert_match - previous one didn't make any sense (if the first ↵Jakub Kuźma2012-07-091-1/+1
| | | | | | | | | | | | passed, the second passed as well)
| * | It's better to pass strings to assert_match - it converts them to regular ↵Jakub Kuźma2012-07-091-2/+2
| | | | | | | | | | | | expressions, escaping special chars like '.'. It seems email.encoded contains some unexpected line breaks (due to encoding), it's better to assert_match email.body.to_s.
| * | Revert "Select missing formbuilder typo."Dan Patrick2012-07-081-2/+2
| | | | | | | | | | | | This reverts commit bf97795e7327e15774666d2197f1c0b8ada57a84.
| * | Select missing formbuilder typo.Dan Patrick2012-07-081-2/+2
| | |
| * | Document building complex forms using accepts_nested_attributes_forFrederick Cheung2012-07-081-8/+127
| | |
* | | testing guide: start of a passXavier Noria2012-07-121-49/+29
| | |
* | | Merge pull request #7004 from philiqq/masterXavier Noria2012-07-086-7/+7
|\ \ \ | | | | | | | | [Guide] Fix broken links
| * | | Fix broken links in 2.2 release notes, i18n, debugging, security, 2.3 ↵Philipp Franke2012-07-086-7/+7
| | | | | | | | | | | | | | | | release notes, plugins
* | | | Merge pull request #6956 from lexmag/ref_migration_generatorRafael Mendonça França2012-07-081-0/+47
|\ \ \ \ | | | | | | | | | | Add references statements to migration generator