aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* Add examples of AR order method's hash notation to Rails Guide [ci skip]Sugino Yasuhiro2013-08-221-0/+10
|
* Fix typo [ci skip]Carlos Antonio da Silva2013-08-191-1/+1
|
* Merge pull request #11914 from pawel2105/development-dependencies-guides-fixGuillermo Iguaran2013-08-181-1/+23
|\ | | | | Memcached note for Rails guides [ci skip]
| * Add note about installing and running Memcached for Rails test suite tests ↵Pawel Janiak2013-08-161-1/+23
| | | | | | | | that depend on it. [ci skip]
* | blorgh_engine to blorgh [ci-skip]scaryguy2013-08-181-2/+2
| |
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-08-176-26/+76
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: actionview/README.rdoc activerecord/lib/active_record/migration.rb guides/source/development_dependencies_install.md guides/source/getting_started.md
| * | Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-178-52/+62
| | | | | | | | | | | | | | | | | | | | | This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9. Seems to be a code merge done by mistake.
| * | [getting started] Don't define resources :posts a second time + clarify ↵Ryan Bigg2013-08-161-14/+4
| | | | | | | | | | | | messaging around 'Showing Posts' section
| * | Added new line [ci skip]Rashmi Yadav2013-08-141-0/+1
| | |
| * | Added docs for 'remove' method [ci skip]Rashmi Yadav2013-08-141-0/+11
| | |
| * | Merge branch 'master' of github.com:rails/docrailsThiago Pinto2013-08-148-62/+52
| |\ \
| | * | Minor align BR tags with HTML void - with reference to the generators code ↵AvnerCohen2013-08-072-2/+2
| | | | | | | | | | | | | | | | change - https://github.com/rails/rails/commit/f038d4cc5fe1ac21f92c7e32c61ff85a0c816f3f
| | * | Added Action View in 'rake about' [ci skip]Arun Agrawal2013-08-021-5/+6
| | | |
| * | | guides should tell people to write ruby code, not outputThiago Pinto2013-08-141-0/+7
| | | |
* | | | Merge pull request #11059 from robin850/improve-test-guideXavier Noria2013-08-161-6/+64
|\ \ \ \ | | | | | | | | | | Improve the testing guide [ci skip]
| * | | | Improve the testing guide [ci skip]Robin Dupret2013-06-251-6/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve the "Testing Rails Applications" guide adding a section for testing helpers and a little note about associations with ActiveRecord and YAML fixtures. Also add a link to Fixture Builder ; yet another replacement for fixtures such as Machinist or FactoryGirl.
* | | | | Use binary mode to write uploaded files [ci skip] See: ↵Brendon Muir2013-08-161-1/+1
| |_|_|/ |/| | | | | | | | | | | http://stackoverflow.com/a/4988984/129798 for an explanation for why this is required for Ruby 1.9.
* | | | document `assert_not_XYZ` in place of `refute_XYZ`.Yves Senn2013-08-141-10/+10
| | | |
* | | | Merge pull request #11617 from swooop/doc_sanitizeXavier Noria2013-08-141-0/+66
|\ \ \ \ | | | | | | | | | | Added SanitizeHelper to rails guide docs [ci skip]
| * | | | Added SanitizeHelper to rails guide docs [ci skip]Toby Sims2013-07-291-0/+66
| | |/ / | |/| | | | | | | | | | | | | | | | | | Added SanitizeHelper to rails guide docs [ci skip] Added SanitizeHelper to rails guide docs update [ci skip]
* | | | 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