aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/association_basics.textile
Commit message (Collapse)AuthorAgeFilesLines
* :foreign_key option should be on has_many side of associationMikhail Dieterle2012-05-131-2/+2
|
* Close string quotesJoão Britto2012-03-131-1/+1
|
* fix a typo [ci skip]Vijay Dev2012-02-181-1/+1
|
* Documenting the :inverse_of option for associationsMike Gunderloy2012-02-181-0/+99
|
* Replace example with SQL placeholder syntax. Joost Baaij2011-11-081-1/+1
| | | This works just fine, is less code, and reduces the risk of someone implementing a SQL injection vulnerability.
* Runtime conditions for associations should use procsStephen Pike2011-10-111-4/+2
| | | | | | | The association guide previously recommended using a trick with single quote delaying of string interpolation in order to handle setting association conditions that would be evaluated at runtime. Using a proc is the new way as this no longer works.
* Copy editing to improve readability, consistency, and tonemhutchin2011-10-091-4/+4
|
* Minor copy editingmhutchin2011-10-091-1/+1
|
* Copy editing: s/Rails guesses/Rails assumes/gmhutchin2011-10-091-7/+7
|
* Copy editing to improve readability and remove any potential ambiguitymhutchin2011-10-091-8/+8
|
* copy editingmhutchin2011-10-081-3/+3
|
* copy editingmhutchin2011-10-081-1/+1
|
* No more changelogs inside guidesVijay Dev2011-09-151-10/+0
|
* forgot to sign my name to the ChangelogDallas Reedy2011-09-141-1/+1
|
* Removed mention of deprecated proxy methods in favor of using proxy_association.Dallas Reedy2011-09-141-4/+5
|
* Changed several instances of British English to be American EnglishEvan Farrar2011-07-231-1/+1
|
* AR: use where in place of findVijay Dev2011-06-201-3/+1
|
* - Fixed typo in association parameters configuration (again)Sasha Gerrand2011-05-091-2/+2
|
* - Fixed typo in the example of a self join on a modelSasha Gerrand2011-05-091-1/+1
|
* - Moved foreign key parameter to correct location for self join on a model ↵Sasha Gerrand2011-05-091-2/+2
| | | | example
* Update guide to use `change` method in various places after migration ↵Prem Sichanugrist2011-04-261-26/+5
| | | | generator has changed.
* removes indent from guides exampleXavier Noria2011-02-181-1/+1
|
* Added simple demonstration of has_many :throughDan Neumann2011-02-131-0/+6
|
* use all and first instead of find(:all) and find(:first)Vijay Dev2010-12-251-2/+2
|
* minor editVijay Dev2010-12-251-1/+1
|
* Association guide: change wording to say that build is for initialization, ↵Ryan Bigg2010-12-021-2/+2
| | | | create is for creating
* Associations guide: Add note that you must use the build_ prefix to build ↵Ryan Bigg2010-12-021-0/+4
| | | | associations of the belongs_to and has_one type
* guides: gives clear instructions for feedback, removes links to the now ↵Xavier Noria2010-11-191-2/+0
| | | | archived LH project
* Use <em> rather than underscores to fix display issue with 4.1.1.1 in the ↵Ryan Bigg and Xavier Noria2010-10-141-1/+1
| | | | asssociation basics guide
* Fixes in associations_basics guide.Kulbir Saini2010-09-241-10/+10
|
* Updated guide to use ActiveRecord::Base.where instead of ↵Kulbir Saini2010-09-241-31/+56
| | | | | | ActiveRecord::Base.find. Added `where` as a method to has_many and has_and_belongs_to_many collections.
* solves everything in guides raised by WARNINGS=1 (except for one which is ↵Xavier Noria2010-08-271-10/+10
| | | | abandoned atm)
* change 'a SQL' to 'an SQL' as suggested by the api documentation guidelinesJaime Iniesta2010-08-261-7/+7
|
* lifecycle should be two words, life cycleJaime Iniesta2010-08-261-2/+2
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-2/+2
| | | | 's/[ \t]*$//' -i {} \;)
* Fixed problem with markup that caused an extra symbol in a function name ↵Brandon Tilley2010-08-091-1/+1
| | | | when rendered.
* missing article, only seen in github's colored diff by the beard of the prophetXavier Noria2010-07-101-1/+1
|
* revises recent commit related to :uniq => trueXavier Noria2010-07-101-28/+22
|
* expanding on :uniq option in has_manyNeeraj Singh2010-07-091-1/+41
|
* documents automatic management of join models in hmt associations, in ↵Xavier Noria2010-07-061-0/+10
| | | | particular the gotcha that deletion is direct
* textile typo 'h6(:has_many-group)' -> 'h6(#has_many-group)'logylaps2010-05-041-1/+1
|
* Fixed duplicated IDs on associations_basics guide to validate XHTML 1.0 StrictJaime Iniesta2010-04-091-81/+82
|
* Putting back italics into association headers on association_basics.textileJaime Iniesta2010-04-011-2/+2
|
* Fix unescaped '<' and badly formed ids on association_basics guideJaime Iniesta2010-04-011-3/+3
|
* adds missing fixed-width fontXavier Noria2010-01-131-1/+1
|
* associations guide: find_by_customer_id -> find_all_by_customer_id, thanks ↵Xavier Noria2009-05-241-1/+1
| | | | to Kai Krakow
* in associations guide: exist? -> exists?, thanks to Peter ZlatnarXavier Noria2009-05-231-8/+8
|
* String interpolation conditionsPratik Naik2009-04-231-0/+11
|
* Added touch to associations guideMike Gunderloy2009-04-191-0/+24
|
* dasherize titles in a more predictable way, and update fragment identifiers ↵Xavier Noria2009-03-151-2/+2
| | | | accordingly