aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Don't pass retry option to SidekiqAri Pollak2014-10-081-3/+1
|/ / | | | | | | | | * This would override whatever default is configured in Sidekiq system-wide, and retry is true by default anyway.
* | Point to a specific version of guide to make the redirect workRafael Mendonça França2014-10-081-1/+1
| |
* | Merge pull request #17205 from y-yagi/patch-1Abdelkader Boudih2014-10-081-1/+1
|\ \ | | | | | | update error message when InlineAdapter is used
| * | update error message when InlineAdapter is usedyuuji.yaginuma2014-10-081-1/+1
| | |
* | | Merge pull request #17187 from Bounga/middleware_reloading_explainationAbdelkader Boudih2014-10-081-0/+4
|\ \ \ | |/ / |/| | Warning about middleware not auto-reloading
| * | Warning about middleware not auto-reloadingNicolas Cavigneaux2014-10-081-0/+4
|/ / | | | | | | | | | | | | | | | | Add a section in the guide to explain that Rails can't auto-reload a middleware on code change. Fix #16806 [ci skip]
* | Only include the needed assertionsRafael Mendonça França2014-10-072-2/+3
| |
* | Merge pull request #17204 from schneems/schneems/fix-am-tests-masterRafael Mendonça França2014-10-074-7/+9
|\ \ | | | | | | | | | fix tests on action_mailer
| * | fix tests on action_mailerschneems2014-10-074-7/+9
| | | | | | | | | Include appropriate helpers and use `assert_dom_equal` where applicable
* | | Merge pull request #17203 from schneems/schneems/av-tag_helperRafael Mendonça França2014-10-073-10/+9
|\| | | | | | | | remove un-needed sort
| * | remove un-needed sortschneems2014-10-073-10/+9
|/ / | | | | | | | | | | HTML doesn't care what order the elements are rendered in, so why should we? Updates tests to use proper `assert_dom_equal` instead of `assert_equal` /cc @jeremy
* | Merge pull request #17201 from djpowers/patch-1Abdelkader Boudih2014-10-071-1/+1
|\ \ | | | | | | Fix grammar [ci skip]
| * | Fix grammarDave Powers2014-10-071-1/+1
|/ /
* | Merge pull request #17198 from neerajdotname/wordsmitthingRafael Mendonça França2014-10-071-2/+2
|\ \ | | | | | | Rephrasing sentences
| * | Rephrasing sentencesNeeraj Singh2014-10-071-2/+2
| | |
* | | Merge pull request #17184 from fillman/masterRafael Mendonça França2014-10-071-6/+17
|\ \ \ | | | | | | | | fix autoload tests
| * | | fix autoload testsfillman2014-10-051-6/+17
| | | |
* | | | Merge pull request #17146 from divineforest/active-record-gsub-to-trRafael Mendonça França2014-10-074-4/+4
|\ \ \ \ | |_|/ / |/| | | Change `gsub` to `tr` where possible
| * | | Change `gsub` to `tr` where possibleAlexander Balashov2014-10-064-4/+4
| | | |
* | | | Merge pull request #17189 from jipiboily/update-queue-classic-detailsZachary Scott2014-10-062-7/+7
|\ \ \ \ | | | | | | | | | | update queue_classic details [ci skip]
| * | | | update queue_classic detailsJean-Philippe Boily2014-10-062-7/+7
|/ / / /
* | / / unify PG spelling in CHANGELOGs. [ci skip]Yves Senn2014-10-061-1/+1
| |/ / |/| |
* | | Merge pull request #17183 from prathamesh-sonpatki/fix-typo-in-am-guideAbdelkader Boudih2014-10-051-2/+2
|\ \ \ | | | | | | | | Fix typo in Active Model guide
| * | | Fix typo in Active Model guidePrathamesh Sonpatki2014-10-051-2/+2
|/ / / | | | | | | | | | | | | - instrospection -> introspection. - [ci skip]
* | | [ci skip] Merge ActiveModel::SecurePassword guide from @aditya-kapoorZachary Scott2014-10-041-0/+46
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'active-model-secure-password-guide' of https://github.com/aditya-kapoor/rails into aditya-kapoor-active-model-secure-password-guide Conflicts: guides/source/active_model_basics.md
| * | | [ci skip] add guide for ActiveModel::SecurePasswordAditya Kapoor2014-08-111-0/+46
| | | |
* | | | Edits to ActiveModel guide [ci skip]Nick Meehan2014-10-041-36/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Some grammatical errors and rewording of sentences throughout document - Renaming headers to be more human readable, and if following paragraphs do not include module names, adding those in - In ActiveModel::AttributeMethods * formatting expected output correctly, changing from `#` to `# =>` - In ActiveModel::Dirty * changing expected output of person.first_name_was from "First Name" to nil * removing 'active_model' requirement at top of code snippet - In ActiveModel::Validations * originally Person.new(token: "2b1f325") raises an argument error (1 for 0), so setting of attribute occurs on the line after object instantiation - In ActiveModel::Naming * closing code snippet tag at end of section so ActiveModel::Model is a separate section - In ActiveModel::Model * fixing spelling mistake of attr_accessor - In ActiveModel::Serialization * adding edit to description of how from_json and from_xml works under serialization - In ActiveModel::Lint::Tests * capitalizing person for class name
* | | | Add Active Model to guides [ci skip]Mauro George2014-10-042-14/+302
| | | |
* | | | Merge pull request #17179 from ↵Zachary Scott2014-10-041-17/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | eileencodes/clarify-delete-strategies-on-collection-proxy [ci skip] Clarify deletion strategies for collection proxies
| * | | | [ci skip] Clarify deletion strategies for collection proxieseileencodes2014-10-041-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For detailed testing of behavior see: https://gist.github.com/eileencodes/5b0a2fe011dcff6203fe This shows destroy_all always destroys records and fires callbacks. It will never use nullify or delete_all delete_all's behavior varies greatly based on `hm` vs `hm:t` and deletion strategy.
* | | | | Merge pull request #17176 from kuldeepaggarwal/doc-alias_method_chainZachary Scott2014-10-041-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | doc added for `writer` method in `alias_method_chain` [ci skip]
| * | | | doc added for `writer` method in `alias_method_chain`[ci skip]Kuldeep Aggarwal2014-10-041-2/+2
|/ / / /
* | | | Clarify possible validations you can use to avoid a NULL boolean valueZachary Scott2014-10-031-2/+8
| | | | | | | | | | | | | | | | in the database. Closes #16304 [ci skip]
* | | | Merge pull request #16409 from ↵Zachary Scott2014-10-035-15/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | justinweiss/update_validation_context_documentation Docs: Add a note on custom validation contexts. [ci skip]
| * | | | Add a note on custom validation contexts.Justin Weiss2014-08-055-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation on `:on` for validations was inconsistent, and most only referenced the `:create` and `:update` contexts. I fixed those to be consistent with the documentation on `AM::Validations.validates`, which seemed to have the best docs. [ci skip]
* | | | | :heart: 1.9Matthew Draper2014-10-041-1/+1
| | | | |
* | | | | Merge pull request #14146 from chewi/fix-underscore-acronyms-regexMatthew Draper2014-10-043-1/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix underscore inflector handling of namespaced and adjacent acronyms
| * | | | | Fix underscore inflector handling of adjacent acronymsJames Le Cuirot2014-10-032-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I suspect that positive lookbehind would have been used in the original implementation had it been available in supported Ruby versions at the time. Now that Rails requires Ruby 1.9.2 or above, this is no longer an issue. This fixes #14146 for acronyms such as APIRESTful. This technique also addresses namespaced acronyms that are not entirely uppercased. This was broken when the commit was originally written but has since been fixed in ccbb481. The latter does not deal with adjacent acronyms so this commit wins.
* | | | | | Merge pull request #17150 from effektz/tr-instead-of-gsubJeremy Kemper2014-10-032-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Use #tr instead of #gsub where possible
| * | | | | | Use #tr instead of #gsub where possibleAlex Weidmann2014-10-022-2/+2
| | | | | | |
* | | | | | | Merge pull request #17172 from rselk/typoAbdelkader Boudih2014-10-032-2/+2
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | fix typo in in define_model_callbacks comment [ci skip]
| * | | | | | fix typo in in define_model_callbacks comment [ci skip]Ryan Selk2014-10-032-2/+2
|/ / / / / /
* | | | | | Merge pull request #17168 from jwworth/task/fix_typoXavier Noria2014-10-031-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix typo [ci skip]
| * | | | | | Fix typoJake Worth2014-10-031-1/+1
|/ / / / / /
* | | | | | Merge pull request #17167 from kuldeepaggarwal/doc-define_model_callbacksRafael Mendonça França2014-10-032-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | add notes for `define_model_callbacks`
| * | | | | | add notes for `define_model_callbacks` [ci skip]Kuldeep Aggarwal2014-10-032-0/+6
|/ / / / / /
* | | | | | Merge pull request #17160 from lsylvester/duration-hashAaron Patterson2014-10-032-0/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | define hash on duration
| * | | | | | define hash on durationlsylvester2014-10-032-0/+8
|/ / / / / /
* | | | | | minor fixes in the configuring guide [ci skip]Xavier Noria2014-10-031-15/+15
| | | | | |
* | | | | | Revert "Fix style for rescue responses doc [ci skip]"Xavier Noria2014-10-031-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason: There is a wrong newline, a typo, and the change to singular is not good. This reverts commit d76380cf1ccec7ffeff19827ae9b6d9b71327418.