aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-0111-23/+78
|\
| * 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.
| * | 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.
* | | Update guide/release note about AR::SessionStorePrem Sichanugrist2012-08-244-14/+6
| | |
* | | Extract ActiveRecord::SessionStore from RailsPrem Sichanugrist2012-08-241-7/+3
|/ / | | | | | | | | This functionality will be available from gem `active_record-session_store` instead.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-08-221-15/+14
|\ \
| * | giving a pause usually made for e.g. in sentences [ci skip]Soon Van2012-08-211-15/+14
| | |
| * | Revert "association_basics, updated how inverse_of works"Rafael Mendonça França2012-08-201-3/+2
| | | | | | | | | | | | | | | | | | This reverts commit 8cb9460437eddde6952fbebbc969203cd4d00294. Reason: #7377 was merged and it fixes this behavior.
| * | association_basics, updated how inverse_of worksOlli Huotari2012-08-201-2/+3
| | | | | | | | | | | | Fixed bug in the example code. A bit related to rails issue in  https://github.com/rails/rails/issues/3223
* | | Add CHANGELOG entry for #3578 [ci skip]Rafael Mendonça França2012-08-211-0/+4
| | |
* | | Deprecate config.threadsafe!José Valim2012-08-211-6/+6
| | |
* | | Get rid of config.preload_frameworks in favor of config.eager_load_namespacesJosé Valim2012-08-211-5/+1
| | | | | | | | | | | | | | | | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
* | | Remove allow_concurrency as a flagJosé Valim2012-08-211-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The flag was mainly used to add a Rack::Lock middleware to the stack, but the only scenario the lock is desired is in development. If you are deploying on a not-threaded server, the Rack::Lock does not provide any benefit since you don't have concurrent accesses. On the other hand, if you are on a threaded server, you don't want the lock, since it defeats the purpose of using a threaded server. If there is someone out there, running on a thread server and does want a lock, it can be added to your environment as easy as: `use Rack::Lock`
* | | Use instance_accessor: false instead of instance_writer.kennyj2012-08-211-0/+2
| | |
* | | Added X-Content-Type-Options to the header defaults.Jim Jones2012-08-181-1/+1
| | | | | | | | | | | | With a value of "nosniff", this prevents Internet Explorer from MIME-sniffing a response away from the declared content-type.
* | | Merge pull request #7024 from bogdan/strict_validation_custom_exceptionRafael Mendonça França2012-08-161-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | AM::Validation#validates: custom exception for :strict option Conflicts: activemodel/CHANGELOG.md
| * | | AM::Validation#validates: ability to pass custom exception to `:strict` optionBogdan Gusiev2012-08-061-0/+10
| | | |