aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11756 from zilkey/masterYves Senn2013-08-131-0/+13
|\ | | | | added String#to_date documentation to Rails 4 upgrade guide [ci skip]
| * added String#to_date documentation to Rails 4 upgrade guideJeff Dean2013-08-061-0/+13
| | | | | | | | [ci skip]
* | Merge pull request #11807 from jetthoughts/11804_actions_are_public_methodsSteve Klabnik2013-08-131-0/+4
|\ \ | | | | | | Add description of action in Getting Started Guide [ci skip]
| * | #11804: Add description of action in Getting Started GuidePaul Nikitochkin2013-08-131-0/+4
| | | | | | | | | | | | | | | | | | [ci skip] Closes #11804
* | | Merge pull request #11847 from AJ-Acevedo/masterSteve Klabnik2013-08-131-1/+1
|\ \ \ | |/ / |/| | Updated outdated initialization guide [ci skip]
| * | Updated outdated initialization guide [ci skip]AJ Acevedo2013-08-131-1/+1
| | |
* | | Add plural form example for AR I18n section [ci skip]Sadjow Leão2013-08-131-0/+13
| | |
* | | Merge pull request #11823 from fomede/add-jquery-ujs-reference-linkSteve Klabnik2013-08-121-1/+1
|\ \ \ | | | | | | | | Add events reference link to the text about jquery-ujs [ci skip]
| * | | Add events reference link to the text about jquery-ujs [ci skip]Sadjow Leão2013-08-121-1/+1
| | | |
* | | | Added comment to a guide about necessity of `:dependent` option for ↵Ilya Vorontsov2013-08-121-0/+6
| |/ / |/| | | | | | | | associations with NOT NULL constraint
* | | Add author_name field to post_params to the engines docsSergey Kuznetsov2013-08-101-0/+8
|/ /
* | Fix a broken linkHiroshige Umino2013-08-091-1/+1
| |
* | Remove using of suffix with term. [ci skip]Paul Nikitochkin2013-08-081-1/+1
| |
* | Merge pull request #10045 from senny/document_relative_url_rootYves Senn2013-08-071-2/+39
|\ \ | | | | | | document how to deploy to a subdirectory [ci skip]
| * | document how to deploy to a subdirectory. #2992 [ci skip]Yves Senn2013-08-071-2/+39
| | |
* | | Merge pull request #11784 from davetoxa/patch-2Carlos Antonio da Silva2013-08-061-1/+1
|\ \ \ | | | | | | | | Bump ruby version [ci skip]
| * | | Bump ruby version [ci skip]Anton Cherepanov2013-08-071-1/+1
| | | |
* | | | Bump ruby version [ci skip]Anton Cherepanov2013-08-071-3/+3
|/ / /
* | | #11759: Update Assets Pipeline GuidePaul Nikitochkin2013-08-061-2/+2
| | | | | | | | | | | | by default included to precompile only non-js/css files from `app/assets` and `application.(css|js)`
* | | Removed confusing statements about routes in getting started guide [ci skip]Prathamesh Sonpatki2013-08-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | - routes for CRUD already exists as `resources :posts` is in `config/routes.rb` - So we don't have to add any new route in the `config/routes.rb` - As per #11644, the adding of routes which are already there confuses user, so here its changed to referring output of `rake routes`
* | | migrations guide: fix and edits [ci skip]Xavier Noria2013-08-051-7/+9
| | |
* | | getting started guide: pass the resource to the URL helper [ci skip]Xavier Noria2013-08-051-1/+1
| |/ |/| | | | | Passing the actual ID is not idiomatic.
* | Merge pull request #11677 from jaggederest/masterRafael Mendonça França2013-08-041-1/+1
|\ \ | | | | | | update guide to reflect default HMAC SHA1 in MessageVerifier used in SignedCookieStore
| * | remove language about configuring digest method [ci skip]Justin George2013-07-311-1/+1
| | |
| * | update guide to reflect default HMAC SHA1 in MessageVerifier used in ↵Justin George2013-07-301-1/+1
| | | | | | | | | | | | SignedCookieStore [ci skip]
* | | Merge pull request #11749 from Alamoz/getting_started_guideRafael Mendonça França2013-08-041-0/+15
|\ \ \ | | | | | | | | Added to 'Security' section in 'Getting Started with Rails' guide, including reference to 'Ruby on Rails Security Guide'.
| * | | Added to 'Security' section; especially reference to 'Ruby on Rails Security ↵Adrien Lamothe2013-08-041-0/+15
| | | | | | | | | | | | | | | | Guide'. [ci skip]
* | | | Merge pull request #11737 from tkhr/fix-document-about-on-validation-helpersRafael Mendonça França2013-08-041-3/+2
|\ \ \ \ | |/ / / |/| | | Fix active_record_validations.md document, `:save` for `on:` validation helper was never available
| * | | Fix active_record_validations.md document, `:save` for `on:` validation ↵Takehiro Adachi2013-08-041-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | helper was never available According to the guide, ":save" value for the "on:" validation helper was available like below validates :name, presence: true, on: :save but this was never available according to the implementation of the valid? method, which is below # Runs all the validations within the specified context. Returns +true+ if # no errors are found, +false+ otherwise. # # If the argument is +false+ (default is +nil+), the context is set to <tt>:create</tt> if # <tt>new_record?</tt> is +true+, and to <tt>:update</tt> if it is not. # # Validations with no <tt>:on</tt> option will run no matter the context. Validations with # some <tt>:on</tt> option will only run in the specified context. def valid?(context = nil) context ||= (new_record? ? :create : :update) output = super(context) errors.empty? && output end So the documentation was always wrong since the PR proposed by @neerajdotname ( #10287 ) was rejected.
* | | | Remove "Using Action View outside of Rails" section from AV overview guideGuillermo Iguaran2013-08-041-69/+0
| | | | | | | | | | | | The section was clearly wrong and was just an example about how to use ActiveSupport helpers in Rack/Sinatra
* | | | :scissors:Rafael Mendonça França2013-08-031-3/+3
| | | | | | | | | | | | | | | | [ci skip]
* | | | No need to abbreviate applicationRafael Mendonça França2013-08-031-1/+1
| | | | | | | | | | | | | | | | [ci skip]
* | | | Merge pull request #11747 from bradly/guides_getting_started_fixRafael Mendonça França2013-08-031-1/+1
|\ \ \ \ | | | | | | | | | | Add note that you must be in the rails app when starting the server
| * | | | Add note that you must be in the rails app directory when starting up the ↵Bradly Feeley2013-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | server. This is a response to issue #11731 and is a common mistake for people newer to rails that try forget to cd into the new rails app after running rails new.
* | | | | Merge pull request #11733 from iainbeeston/masterRafael Mendonça França2013-08-031-1/+1
|\ \ \ \ \ | | | | | | | | | | | | i18n guide update: corrected reference to activerecord to instead reference activemodel
| * | | | | Updated the guide to say that the localisation file for validation messages ↵Iain Beeston2013-08-031-1/+1
| |/ / / / | | | | | | | | | | | | | | | is in activemodel, not activerecord
* | | | | Merge pull request #11738 from gaurish/guides-association-basics-fixRafael Mendonça França2013-08-031-2/+3
|\ \ \ \ \ | | | | | | | | | | | | [Fixes #11734]Correct Association Basics Guide on has_and_belongs_to_many
| * | | | | [Fixes #11734]Correct Association Basics Guide on has_and_belongs_to_many[ci ↵Gaurish Sharma2013-08-031-2/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | skip] Done the following changes: 1. Replace uniq call in example with autosave as uniq is not supported on has_and_belongs_to_many 2. Add :readonly option to list of supported call as per [EdgeApi](http://edgeapi.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_and_belongs_to_many)
* / / / / used flat_map instead of map.flatten in /guides/rails_guides/helpers.rbKarunakar (Ruby)2013-08-041-1/+1
|/ / / /
* | | | Replaced quotation marks for term by apostrophePaul Nikitochkin2013-08-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | in getting started guide for section 5.6 [ci skip]
* | | | Merge pull request #11699 from satococoa/fix-render-status-symbols-documentCarlos Antonio da Silva2013-08-011-3/+3
|\ \ \ \ | | | | | | | | | | Fix status codes in document
| * | | | Fix status code in documents [ci skip]Satoshi Ebisawa2013-08-011-3/+3
| | |/ / | |/| | | | | | | | | | | | | | RFC 6585 Additional HTTP Status Codes http://www.ietf.org/rfc/rfc6585.txt
* / | | Added missing closing bracket for markdown url in guides [ci skip]Wojciech Wnętrzak2013-08-011-1/+1
|/ / /
* | | Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-292-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | order on the old ones The previous behavior added a major backward incompatibility since it impossible to have a upgrade path without major changes on the application code. We are taking the most conservative path to be consistent with the idea of having a smoother upgrade on Rails 4. We are reverting the behavior for what was in Rails 3.x and, if needed, we will implement a new API to prepend the order clauses in Rails 4.1.
* | | Merge pull request #11358 from Alamoz/asset_pipelineXavier Noria2013-07-291-229/+537
|\ \ \ | | | | | | | | Update of 'The Asset Pipeline' guide for Rails 4.
| * | | Update of 'The Asset Pipeline' guide for Rails 4. [ci skip]Adrien Lamothe2013-07-261-229/+537
| | | |
* | | | Merge pull request #11654 from robin850/freebsdXavier Noria2013-07-291-0/+28
|\ \ \ \ | | | | | | | | | | Add installation instructions for FreeBSD [ci skip]
| * | | | Add installation instructions for FreeBSD [ci skip]Robin Dupret2013-07-291-0/+28
| | | | | | | | | | | | | | | | | | | | Add packages required to setup the rails environment on FreeBSD.
* | | | | Fixing the broken URL [skip ci]Ankit Gupta2013-07-291-1/+1
|/ / / /
* | / / Improved the doc about showing posts in getting started guide [ci skip]Prathamesh Sonpatki2013-07-291-0/+2
| |/ / |/| | | | | | | | - Reference #11644