Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #7273 from beerlington/foreign_key_model_queries | Jon Leighton | 2012-09-12 | 1 | -0/+7 |
|\ | | | | | Convert model name to foreign key in queries | ||||
| * | Accept belongs_to assoc. keys in ActiveRecord queries | beerlington | 2012-09-11 | 1 | -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.queue | Rafael Mendonça França | 2012-09-12 | 2 | -4/+13 |
| | | |||||
* | | Action Mailer async flag is true by default using a Synchronous impl | Santiago Pastorino | 2012-09-11 | 1 | -14/+1 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-09 | 15 | -68/+143 |
|\ | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
| * | minor fixes and edits [ci skip] | Vijay Dev | 2012-09-09 | 5 | -22/+14 |
| | | |||||
| * | add note about using block form of unscoped in AR Querying guide [ci skip] | Francesco Rodriguez | 2012-09-08 | 1 | -5/+19 |
| | | |||||
| * | Fix a bunch of typos, reword some things for clarity. | Jonathan Roes | 2012-09-07 | 1 | -43/+36 |
| | | |||||
| * | Fix a typo | 1334 | 2012-09-07 | 1 | -2/+2 |
| | | |||||
| * | default scope should return an ActiveRecord::Relation [ci skip] | José Corcuera | 2012-09-07 | 1 | -1/+1 |
| | | |||||
| * | How to use default_scope as a class method | José Corcuera | 2012-09-07 | 1 | -0/+10 |
| | | |||||
| * | extended example | cnaize | 2012-09-07 | 1 | -1/+4 |
| | | |||||
| * | Added information about dynamic delivery options to action mailer guides | Aditya Sanghi | 2012-09-07 | 1 | -0/+18 |
| | | |||||
| * | Dynamic Delivery Method Options | Aditya Sanghi | 2012-09-07 | 1 | -0/+14 |
| | | |||||
| * | Redirect block with arity of 1 is deprecated. | Semyon Perepelitsa | 2012-09-06 | 1 | -2/+2 |
| | | |||||
| * | Doc: sweepers only work on Active Record Models | schneems | 2012-09-05 | 1 | -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" Giambelluca | 2012-09-05 | 1 | -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' note | Ryan Bigg | 2012-09-05 | 1 | -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 own | Konstantin Haase | 2012-09-04 | 1 | -1/+12 |
| | | |||||
| * | Update caching guide: memcache-client was replaced with dalli | Guillermo Iguaran | 2012-09-03 | 1 | -1/+1 |
| | | |||||
| * | Add section about tagged logging | Gaurish Sharma | 2012-09-03 | 1 | -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" Giambelluca | 2012-09-02 | 1 | -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" Giambelluca | 2012-09-02 | 1 | -1/+1 |
| | | | | | | | | skip] | ||||
| * | Fixed validation issues in the "Configuring Rails Applications" guide [ci skip] | Aldo "xoen" Giambelluca | 2012-09-02 | 1 | -1/+1 |
| | | | | | | | | erb tag wasn't closed well | ||||
| * | Fixed validation issues related to taken IDs in AR Querying guide [ci skip] | Aldo "xoen" Giambelluca | 2012-09-02 | 1 | -4/+4 |
| | | |||||
| * | Underscore in _attr_readonly method name is back (Upgrading RoR guide) [ci skip] | Aldo "xoen" Giambelluca | 2012-09-02 | 1 | -1/+1 |
| | | |||||
| * | Fixed validation issue in Upgrading Ruby on Rails guide [ci skip] | Aldo "xoen" Giambelluca | 2012-09-02 | 1 | -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 hash | Konstantin Shabanov | 2012-09-08 | 1 | -3/+3 |
| | | |||||
* | | Fixed markup in Upgrading RoR guide [ci skip] | Aldo "xoen" Giambelluca | 2012-09-02 | 1 | -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/docrails | Vijay Dev | 2012-09-01 | 12 | -31/+91 |
|\ | |||||
| * | copy edits [ci skip] | Vijay Dev | 2012-09-01 | 1 | -3/+1 |
| | | |||||
| * | Fix my bio | Pratik Naik | 2012-08-31 | 1 | -1/+1 |
| | | |||||
| * | In example about params naming conventions use params[:person] [ci skip] | Aldo "xoen" Giambelluca | 2012-08-31 | 1 | -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/master | Jeff Shantz | 2012-08-30 | 1 | -1/+1 |
| |\ | | | | | | | Added a bullet for :enable_starttls_auto in the smtp_settings table | ||||
| | * | Added a note for smtp_settings.enable_starttls_auto | Neil Stockbridge | 2012-08-08 | 1 | -1/+1 |
| | | | |||||
| * | | in section 4.1 acts_as_yaffle_test was incorrectly failing due to assertion ↵ | Kevin Musiorski | 2012-08-30 | 1 | -2/+2 |
| | | | | | | | | | | | | incorrectly using symbol instead of string | ||||
| * | | Removed spaces between name and asterisks in example CHANGELOG entry [ci skip] | Aldo "xoen" Giambelluca | 2012-08-30 | 1 | -1/+1 |
| | | | |||||
| * | | added a touch more information to the apache configuration instructions | Nathaniel Madura | 2012-08-29 | 1 | -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 Jones | 2012-08-27 | 1 | -1/+19 |
| | | | |||||
| * | | default headers init | Egor Homakov | 2012-08-27 | 1 | -0/+23 |
| | | | |||||
| * | | Update guides/source/rails_application_templates.textile | Deepak Kannan | 2012-08-27 | 1 | -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 command | Deepak Kannan | 2012-08-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | after running, git add . do not need -a option to git commit | ||||
| * | | Guide: improvements to "The Flash" section. | Henrik N | 2012-08-25 | 1 | -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:validate | Jaime Iniesta | 2012-08-24 | 1 | -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:validate | Jaime Iniesta | 2012-08-24 | 1 | -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 Iniesta | 2012-08-24 | 1 | -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/docrails | Almudena Garcia | 2012-08-23 | 1 | -8/+13 |
| |\ \ | |||||
| | * | | Fix rake guides:validate task as it should be run from the guides directory; ↵ | Jaime Iniesta | 2012-08-23 | 1 | -8/+13 |
| | | | | | | | | | | | | | | | | add exception handling | ||||
| * | | | Fix HTML validation errors | Almudena Garcia | 2012-08-23 | 4 | -7/+7 |
| |/ / | |||||
* | | | Remove some entries from the 4.0 release notes | Rafael Mendonça França | 2012-08-26 | 1 | -25/+0 |
| | | | | | | | | | | | | We need more :heart: in this file. There are a lot of outdated entries. |