Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #11749 from Alamoz/getting_started_guide | Rafael Mendonça França | 2013-08-04 | 1 | -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 Lamothe | 2013-08-04 | 1 | -0/+15 |
| | | | | | | | | Guide'. [ci skip] | ||||
* | | Merge pull request #11737 from tkhr/fix-document-about-on-validation-helpers | Rafael Mendonça França | 2013-08-04 | 1 | -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 Adachi | 2013-08-04 | 1 | -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 guide | Guillermo Iguaran | 2013-08-04 | 1 | -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ça | 2013-08-03 | 1 | -3/+3 |
| | | | | | | | | [ci skip] | ||||
* | | No need to abbreviate application | Rafael Mendonça França | 2013-08-03 | 1 | -1/+1 |
| | | | | | | | | [ci skip] | ||||
* | | Merge pull request #11747 from bradly/guides_getting_started_fix | Rafael Mendonça França | 2013-08-03 | 1 | -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 Feeley | 2013-08-03 | 1 | -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/master | Rafael Mendonça França | 2013-08-03 | 1 | -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 Beeston | 2013-08-03 | 1 | -1/+1 |
| |/ / | | | | | | | | | | is in activemodel, not activerecord | ||||
* | | | Merge pull request #11738 from gaurish/guides-association-basics-fix | Rafael Mendonça França | 2013-08-03 | 1 | -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 Sharma | 2013-08-03 | 1 | -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.rb | Karunakar (Ruby) | 2013-08-04 | 1 | -1/+1 |
|/ / | |||||
* | | Replaced quotation marks for term by apostrophe | Paul Nikitochkin | 2013-08-02 | 1 | -2/+2 |
| | | | | | | | | | | | | in getting started guide for section 5.6 [ci skip] | ||||
* | | Merge pull request #11699 from satococoa/fix-render-status-symbols-document | Carlos Antonio da Silva | 2013-08-01 | 1 | -3/+3 |
|\ \ | | | | | | | Fix status codes in document | ||||
| * | | Fix status code in documents [ci skip] | Satoshi Ebisawa | 2013-08-01 | 1 | -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ętrzak | 2013-08-01 | 1 | -1/+1 |
|/ / | |||||
* | | Revert change on ActiveRecord::Relation#order method that prepends new | Rafael Mendonça França | 2013-07-29 | 2 | -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_pipeline | Xavier Noria | 2013-07-29 | 1 | -229/+537 |
|\ \ | | | | | | | Update of 'The Asset Pipeline' guide for Rails 4. | ||||
| * | | Update of 'The Asset Pipeline' guide for Rails 4. [ci skip] | Adrien Lamothe | 2013-07-26 | 1 | -229/+537 |
| | | | |||||
* | | | Merge pull request #11654 from robin850/freebsd | Xavier Noria | 2013-07-29 | 1 | -0/+28 |
|\ \ \ | | | | | | | | | Add installation instructions for FreeBSD [ci skip] | ||||
| * | | | Add installation instructions for FreeBSD [ci skip] | Robin Dupret | 2013-07-29 | 1 | -0/+28 |
| | | | | | | | | | | | | | | | | Add packages required to setup the rails environment on FreeBSD. | ||||
* | | | | Fixing the broken URL [skip ci] | Ankit Gupta | 2013-07-29 | 1 | -1/+1 |
|/ / / | |||||
* | / | Improved the doc about showing posts in getting started guide [ci skip] | Prathamesh Sonpatki | 2013-07-29 | 1 | -0/+2 |
| |/ |/| | | | | | - Reference #11644 | ||||
* | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2013-07-28 | 4 | -54/+43 |
|\ \ | |||||
| * | | Typo fix | Mikhail Dieterle | 2013-07-28 | 1 | -1/+1 |
| | | | |||||
| * | | Using markdown-style code quotes | Mikhail Dieterle | 2013-07-28 | 1 | -2/+2 |
| | | | |||||
| * | | Fix lixml2 to libxml2 [ci skip] | Robin Dupret | 2013-07-28 | 1 | -1/+1 |
| | | | |||||
| * | | Use hyphenated version of assert_url [ci skip] | Robin Dupret | 2013-07-26 | 1 | -1/+1 |
| | | | |||||
| * | | Add a SQL example for `not` [ci skip] | Robin Dupret | 2013-07-26 | 1 | -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 diff | Damien Mathieu | 2013-07-26 | 1 | -1/+1 |
| | | | | | | | | | | | | sorry @robin850. Thanks @fxn | ||||
| * | | Revert "Fix the SQLite gem name" | Damien Mathieu | 2013-07-26 | 1 | -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 Dupret | 2013-07-24 | 1 | -0/+20 |
| | | | | | | | | | | | | Add the packages required on Arch Linux when setting up the development dependencies | ||||
| * | | Fix the SQLite gem name | Robin Dupret | 2013-07-24 | 1 | -1/+1 |
| | | | |||||
| * | | Removed doc of removed method diff [ci skip] | Rashmi Yadav | 2013-07-24 | 1 | -38/+0 |
| | | | |||||
| * | | Updated guides with latest method [ci skip] | Rashmi Yadav | 2013-07-24 | 1 | -2/+2 |
| | | | |||||
| * | | fixed file name references [ci skip] | Rashmi Yadav | 2013-07-24 | 1 | -4/+4 |
| | | | |||||
| * | | Updated guides with latest method [ci skip] | Rashmi Yadav | 2013-07-23 | 1 | -4/+5 |
| | | | | | | | | | for blank? | ||||
* | | | Update Rails 3.2.x guide link [ci skip] | Tomas Varaneckas | 2013-07-27 | 1 | -1/+1 |
| |/ |/| | |||||
* | | AM Guide: Should be "different formats". | Peter Jaros | 2013-07-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #11566 from rajcybage/master | Rafael Mendonça França | 2013-07-23 | 1 | -1/+1 |
|\ \ | | | | | | | add the missing middleware in command line guides rake about [ci skip] | ||||
| * | | add the missing middleware in command line guides rake about [ci skip] | Rajarshi Das | 2013-07-23 | 1 | -1/+1 |
| | | | |||||
* | | | Add info about placing a new CHANGELOG entry to contributing guide | Piotr Sarnacki | 2013-07-22 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #11536 from dpickett/patch-1 | Santiago Pastorino | 2013-07-22 | 1 | -1/+0 |
|\ \ | | | | | | | metal is no longer mentioned on rack guide | ||||
| * | | metal is no longer mentioned on rack guide | Dan Pickett | 2013-07-21 | 1 | -1/+0 |
| | | | |||||
* | | | Merge pull request #11534 from gaurish/log | Piotr Sarnacki | 2013-07-21 | 1 | -0/+31 |
|\ \ \ | | | | | | | | | Add logging performance [ci skip] | ||||
| * | | | Add logging performance [ci skip] | Gaurish Sharma | 2013-07-21 | 1 | -0/+31 |
| | | | | |||||
* | | | | Update note about declarative etags in release notes | Guillermo Iguaran | 2013-07-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Improve comment about ActiveModel::Model | Guillermo Iguaran | 2013-07-21 | 1 | -2/+2 |
| |/ / |/| | |