aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* 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-061-1/+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-183-15/+13
| | | | | | | | | | | | | | | | | | 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
| * | | | Update migrations guideAleksey Magusev2012-07-081-0/+47
| | |/ / | |/| | | | | | | | | | | | | | Add a paragraph about references statements in migration generator and the subchapter "Supported type modifiers"
* | | | Merge pull request #7003 from philiqq/masterCarlos Antonio da Silva2012-07-081-2/+2
|\ \ \ \ | | |/ / | |/| | Fix Bleak House link in debugging guide. Closes #7002
| * | | fix broken bleak_house linkPhilipp Franke2012-07-081-2/+2
| |/ /
* | | Improve and fix AP changelog, sync release notes [ci skip]Carlos Antonio da Silva2012-07-081-0/+12
| | |
* | | Merge pull request #6998 from robin850/patch-1Carlos Antonio da Silva2012-07-081-2/+23
|\ \ \ | |/ / |/| | Add few information on Fedora and CentOS [ci skip]
| * | Add few information on Fedora and CentOSRobin Dupret2012-07-081-2/+23
| | |