aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | 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
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-07-071-12/+16
|\ \ \ | |/ / |/| |
| * | Update list of AR Relation methodsOscar Del Ben2012-07-051-10/+16
| | |
| * | Bump query guide to latest versionOscar Del Ben2012-07-051-2/+0
| | |
* | | Update masterJosé Valim2012-07-071-0/+2
| | |
* | | Improve docs, changelog and release notes for Action Mailer default_options=Carlos Antonio da Silva2012-07-062-2/+4
| | | | | | | | | | | | [ci skip]
* | | Merge pull request #6950 from paneq/default_from2Carlos Antonio da Silva2012-07-061-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce config.action_mailer.default_options= Allows to easily set :from, :replay_to, etc. options in config/application.rb using simple syntax: config.action_mailer.default_options = { from: "no-replay@example.org" } Closes #6747
| * | | Introduce config.action_mailer.default_from=Robert Pankowecki2012-07-031-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows to easily set :from, :replay_to, etc. options in config/application.rb using simple syntax: config.action_mailer.default_options = {from:"no-replay@example.org"} This was not possible using #default method because config.action_mailer.default(from: "no-replay@example.org") is interpreated as reader method and just returns nil. It would not call ActionMailer::Base.default method. The only way of calling this method from config/application.rb was to use the direct syntax which looks ugly in my opinion: config.assets.enabled = false config.assets.version = '1.0' config.encoding = "utf-8" config.action_mailer.default_url_options= { host:"example.org", protocol:"https" } ActionMailer::Base.default(from: "no-replay@example.org")
* | | Update release notes with AR::Relation#inspect change [ci skip]Carlos Antonio da Silva2012-07-061-3/+6
| | | | | | | | | | | | | | | See 07314e64fd62fb8e6165c8c539420160da9437e9. Also fix some tabs in AR Changelog.
* | | Remove mention to csv fixtures from test_helper in guides [ci skip]Carlos Antonio da Silva2012-07-061-1/+1
| | |
* | | fix link and add activeresource link in release notes page [ci skip]Francesco Rodriguez2012-07-041-2/+2
| | |
* | | Update 4.0 Release NotesRafael Mendonça França2012-07-041-1/+15
|/ / | | | | | | Related with 17d2115e3df6caf15d554b44e28177069fa3ed5b
* / Update 4.0 Release Notes with changelogs [ci skip]Carlos Antonio da Silva2012-07-021-14/+221
|/ | | | | | | Also fix some wrong formatting. Related discussion: https://github.com/rails/rails/commit/ab72040b74f742b6676b2d2a5dd029bfdca25a7a#commitcomment-1525256
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-304-7/+13
|\ | | | | | | | | Conflicts: activemodel/lib/active_model/errors.rb
| * Rails now uses the ActiveSupport BufferedLogger classChris Adams2012-06-291-1/+1
| | | | | | | | Instead of the standard Ruby logger
| * corrected URLs and controller benchmark method callEric Carty-Fickes2012-06-261-3/+3
| |
| * Fixed example in 1.2 so help will be defined as the text impliesPerry Smith2012-06-241-1/+7
| |
| * fixed another typo in edge guidesUday Kadaboina2012-06-231-1/+1
| |
| * fixed a typoUday Kadaboina2012-06-231-1/+1
| |
* | Revert "Allow loading external route files from the router"José Valim2012-06-291-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6acebb38bc0637bc05c19d87f8767f16ce79189b. Usage of this feature did not reveal any improvement in existing apps. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb guides/source/routing.textile railties/lib/rails/engine.rb railties/lib/rails/paths.rb railties/test/paths_test.rb