aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7273 from beerlington/foreign_key_model_queriesJon Leighton2012-09-121-0/+7
|\ | | | | Convert model name to foreign key in queries
| * Accept belongs_to assoc. keys in ActiveRecord queriesbeerlington2012-09-111-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Allows you to specify the model association key in a belongs_to relationship instead of the foreign key. The following queries are now equivalent: Post.where(:author_id => Author.first) Post.where(:author => Author.first) PriceEstimate.where(:estimate_of_type => 'Treasure', :estimate_of_id => treasure) PriceEstimate.where(:estimate_of => treasure)
* | Updating the documentation to ActionMailer::Base.queueRafael Mendonça França2012-09-122-4/+13
| |
* | Action Mailer async flag is true by default using a Synchronous implSantiago Pastorino2012-09-111-14/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-0915-68/+143
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * minor fixes and edits [ci skip]Vijay Dev2012-09-095-22/+14
| |
| * add note about using block form of unscoped in AR Querying guide [ci skip]Francesco Rodriguez2012-09-081-5/+19
| |
| * Fix a bunch of typos, reword some things for clarity.Jonathan Roes2012-09-071-43/+36
| |
| * Fix a typo13342012-09-071-2/+2
| |
| * default scope should return an ActiveRecord::Relation [ci skip]José Corcuera2012-09-071-1/+1
| |
| * How to use default_scope as a class methodJosé Corcuera2012-09-071-0/+10
| |
| * extended examplecnaize2012-09-071-1/+4
| |
| * Added information about dynamic delivery options to action mailer guidesAditya Sanghi2012-09-071-0/+18
| |
| * Dynamic Delivery Method OptionsAditya Sanghi2012-09-071-0/+14
| |
| * Redirect block with arity of 1 is deprecated.Semyon Perepelitsa2012-09-061-2/+2
| |
| * Doc: sweepers only work on Active Record Modelsschneems2012-09-051-1/+3
| | | | | | In response to this rails issue: https://github.com/rails/rails/issues/3729
| * Fixed array wrongly translated in footnote in a guide [ci skip]Aldo "xoen" Giambelluca2012-09-051-1/+1
| | | | | | | | | | In the sentence "If <tt>@post.author_ids</tt> is [1], this would ..." the array [1] is converted in a footnote, fixed this using <notextile>.
| * Add giant belongs_to 'please don't pluralize me' noteRyan Bigg2012-09-051-0/+2
| | | | | | | | I've personally seen too many newbies get this wrong and pluralize the association
| * update caching guide: stale? can also figure out last_modified on its ownKonstantin Haase2012-09-041-1/+12
| |
| * Update caching guide: memcache-client was replaced with dalliGuillermo Iguaran2012-09-031-1/+1
| |
| * Add section about tagged loggingGaurish Sharma2012-09-031-0/+16
| | | | | | | | | | | | Tagged logging for which Rails has support since [3.2](http://guides.rubyonrails.org/3_2_release_notes.html#tagged-logging). It is trivial & useful but unless somebody explicitly searches API docs, he/she may not know about it.  Hence, I added it in guides. 
| * Fixed validation issue and titles in Migrations guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-6/+6
| | | | | | | | | | | | | | | | | | Changed the title of the 3.5 chapter from "Using the change Method" to "When to Use the change Method" since the chapter tells the migration definitions supported by the change method. This fix the duplicate ID in the document. I've also changed some of the titles to respect the Guides guidelines.
| * Fixed validation issue related to taken ID in Layout and Rendering guide [ci ↵Aldo "xoen" Giambelluca2012-09-021-1/+1
| | | | | | | | skip]
| * Fixed validation issues in the "Configuring Rails Applications" guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-1/+1
| | | | | | | | erb tag wasn't closed well
| * Fixed validation issues related to taken IDs in AR Querying guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-4/+4
| |
| * Underscore in _attr_readonly method name is back (Upgrading RoR guide) [ci skip]Aldo "xoen" Giambelluca2012-09-021-1/+1
| |
| * Fixed validation issue in Upgrading Ruby on Rails guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-1/+1
| | | | | | | | | | | | | | | | In chapter 2.4 there was an underscore at the start of the attr_readonly method name, this underscore was interpreted as the opening of the <em> tag but it wasn't closed. Worst, the underscore in self.class.serialized_attributes (end of paragraph) was interpreted as the closing of the <em> tag and not as the name of a method.
* | Dump schema using new style hashKonstantin Shabanov2012-09-081-3/+3
| |
* | Fixed markup in Upgrading RoR guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-2/+12
|/ | | | | | | | | There are two changes: - Using <ruby> syntax for unicode character routes example instead of <tt> since it causes single quotes to be transformed into inverted commas. This makes this required change more eye-catching. - Using <tt> for the j alias and related helpers as written in the documentation guidelines.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-0112-31/+91
|\
| * copy edits [ci skip]Vijay Dev2012-09-011-3/+1
| |
| * Fix my bioPratik Naik2012-08-311-1/+1
| |
| * In example about params naming conventions use params[:person] [ci skip]Aldo "xoen" Giambelluca2012-08-311-1/+1
| | | | | | | | | | | | The example is about a Person model, say that "params[:model] would usually be a hash of all the attributes for the person to create" could be confusing. I changed to params[:person] since the example is about a Person creation.
| * Merge pull request #106 from neilstockbridge/masterJeff Shantz2012-08-301-1/+1
| |\ | | | | | | Added a bullet for :enable_starttls_auto in the smtp_settings table
| | * Added a note for smtp_settings.enable_starttls_autoNeil Stockbridge2012-08-081-1/+1
| | |
| * | in section 4.1 acts_as_yaffle_test was incorrectly failing due to assertion ↵Kevin Musiorski2012-08-301-2/+2
| | | | | | | | | | | | incorrectly using symbol instead of string
| * | Removed spaces between name and asterisks in example CHANGELOG entry [ci skip]Aldo "xoen" Giambelluca2012-08-301-1/+1
| | |
| * | added a touch more information to the apache configuration instructionsNathaniel Madura2012-08-291-0/+3
| | | | | | | | | | | | | | | | | | | | | In the text there is a section about how to serve the assets with far-future headers. The snippet that is proposed doesn't work on Ubuntu 11 (probably others) as mod_expires is not enabled out-of-the-box. I noted this, and gave an example of how to load mod_expires with a2enmod.
| * | Added clairifications for default security headers.Jim Jones2012-08-271-1/+19
| | |
| * | default headers initEgor Homakov2012-08-271-0/+23
| | |
| * | Update guides/source/rails_application_templates.textileDeepak Kannan2012-08-271-1/+1
| | | | | | | | | | | | | | | think that a quoted string will be better as it will automatically escape double-quotes as well
| * | Minor update for usage of git commandDeepak Kannan2012-08-271-1/+1
| | | | | | | | | | | | | | | after running, git add . do not need -a option to git commit
| * | Guide: improvements to "The Flash" section.Henrik N2012-08-251-9/+22
| | | | | | | | | | | | | | | Correct :error -> :alert, mention FlashHash class, mention that you're not limited to notices and alerts, clean up.
| * | Add exception handling to rake guides:validateJaime Iniesta2012-08-241-1/+6
| | | | | | | | | | | | | | | If the validation of a guide encounters an exception, inform about it and continue with the loop to validate the rest.
| * | Fix rake guides:validateJaime Iniesta2012-08-241-7/+7
| | | | | | | | | | | | This rake task was looking for the output folder in the wrong place.
| * | Revert "Fix rake guides:validate task as it should be run from the guides ↵Jaime Iniesta2012-08-241-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | directory; add exception handling" This kind of changes should go on a pull request instead. This reverts commit ecae2f0ef0452f8d333525a6aed58e5ab8d3ccb1.
| * | Merge branch 'master' of github.com:lifo/docrailsAlmudena Garcia2012-08-231-8/+13
| |\ \
| | * | Fix rake guides:validate task as it should be run from the guides directory; ↵Jaime Iniesta2012-08-231-8/+13
| | | | | | | | | | | | | | | | add exception handling
| * | | Fix HTML validation errorsAlmudena Garcia2012-08-234-7/+7
| |/ /
* | | Remove some entries from the 4.0 release notesRafael Mendonça França2012-08-261-25/+0
| | | | | | | | | | | | We need more :heart: in this file. There are a lot of outdated entries.