aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* 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
* / / / [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)
* | | 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
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-07-284-54/+43
|\ \
| * | Typo fixMikhail Dieterle2013-07-281-1/+1
| | |
| * | Using markdown-style code quotesMikhail Dieterle2013-07-281-2/+2
| | |
| * | Fix lixml2 to libxml2 [ci skip]Robin Dupret2013-07-281-1/+1
| | |
| * | Use hyphenated version of assert_url [ci skip]Robin Dupret2013-07-261-1/+1
| | |
| * | Add a SQL example for `not` [ci skip]Robin Dupret2013-07-261-1/+7
| | | | | | | | | | | | To share a certain logic across other examples, let's add a sample SQL code generated by the given Ruby code
| * | Refix my misreading of the diffDamien Mathieu2013-07-261-1/+1
| | | | | | | | | | | | sorry @robin850. Thanks @fxn
| * | Revert "Fix the SQLite gem name"Damien Mathieu2013-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 700c6c65bcce17d4c61423ceaef031bcbe203337. Bot the `sqlite3` and `sqlite3-ruby` gems exist. https://rubygems.org/gems/sqlite3 https://rubygems.org/gems/sqlite3-ruby In fact, they both point to the same github repository. https://github.com/luislavena/sqlite3-ruby However, the last one hasn't been released since 2011, while the first one keeps getting regular releases.
| * | Add packages list for ArchLinux [ci skip]Robin Dupret2013-07-241-0/+20
| | | | | | | | | | | | Add the packages required on Arch Linux when setting up the development dependencies
| * | Fix the SQLite gem nameRobin Dupret2013-07-241-1/+1
| | |
| * | Removed doc of removed method diff [ci skip]Rashmi Yadav2013-07-241-38/+0
| | |
| * | Updated guides with latest method [ci skip]Rashmi Yadav2013-07-241-2/+2
| | |
| * | fixed file name references [ci skip]Rashmi Yadav2013-07-241-4/+4
| | |
| * | Updated guides with latest method [ci skip]Rashmi Yadav2013-07-231-4/+5
| | | | | | | | | for blank?
* | | Update Rails 3.2.x guide link [ci skip]Tomas Varaneckas2013-07-271-1/+1
| |/ |/|
* | AM Guide: Should be "different formats".Peter Jaros2013-07-241-1/+1
| |
* | Merge pull request #11566 from rajcybage/masterRafael Mendonça França2013-07-231-1/+1
|\ \ | | | | | | add the missing middleware in command line guides rake about [ci skip]