Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | Add periodical-style TOC and navigation to Kindle version of guides | Daniel Choi | 2012-12-01 | 4 | -5/+128 | |
| | | | | | | | ||||||
* | | | | | | | update release notes [ci skip] | Vijay Dev | 2012-12-08 | 1 | -1/+41 | |
| |/ / / / / |/| | | | | | ||||||
* | | | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-12-08 | 32 | -172/+196 | |
|\ \ \ \ \ \ | ||||||
| * | | | | | | copy edits [ci skip] | Vijay Dev | 2012-12-08 | 2 | -4/+3 | |
| | | | | | | | ||||||
| * | | | | | | Revert "Introduce Bundler and Gemfiles in a NOTE" | Vijay Dev | 2012-12-08 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 83cb6fbd13f3c5ea3106b9a57964b1a6fb243682. Reason: very trivial [ci skip] | |||||
| * | | | | | | Fill out API Documentation Guidelines 'you will learn' list. | Steve Klabnik | 2012-12-07 | 1 | -0/+4 | |
| | | | | | | | ||||||
| * | | | | | | Fill out Active Support Core Extensions 'you will learn' list. | Steve Klabnik | 2012-12-07 | 1 | -0/+5 | |
| | | | | | | | ||||||
| * | | | | | | Remove reference to background queue in mailer guide. | Steve Klabnik | 2012-12-07 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mailers are always async now, and we already discuss queueing lower down in the guide. | |||||
| * | | | | | | Remove references to Rails versions. | Steve Klabnik | 2012-12-07 | 13 | -59/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees. | |||||
| * | | | | | | Update activesupport/lib/active_support/deprecation/proxy_wrappers.rb | Claudio B. | 2012-12-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | Fix a typo in rdoc (*expect* for *except*) | |||||
| * | | | | | | Punctuation, capitalization, grammar fixes in rails guides | Katie Oldaker | 2012-12-07 | 7 | -15/+19 | |
| | | | | | | | ||||||
| * | | | | | | Fix small grammatical error | Max Katz | 2012-12-07 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Fixed grammar in a lot of guide prologues. | Katie Oldaker | 2012-12-07 | 22 | -88/+88 | |
| | | | | | | | ||||||
| * | | | | | | Added overview items to Guides Guidelines prologue | Ian C. Anderson | 2012-12-07 | 1 | -0/+3 | |
| | | | | | | | ||||||
| * | | | | | | changing tense, since Rails 3.2 has been released | Drew Dara-Abrams | 2012-12-06 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | API reader should look elsewhere for helper instructions | Thiago Pinto | 2012-12-06 | 1 | -0/+24 | |
| | | | | | | | ||||||
| * | | | | | | complementary options guidelines for f.file_field and file_field_tag | Thiago Pinto | 2012-12-06 | 2 | -0/+8 | |
| | | | | | | | ||||||
| * | | | | | | adding example for f.file_input | Thiago Pinto | 2012-12-06 | 1 | -0/+3 | |
| | | | | | | | ||||||
| * | | | | | | adding example for f.file_input | Thiago Pinto | 2012-12-06 | 1 | -0/+3 | |
| | | | | | | | ||||||
| * | | | | | | correct bad jquery syntax | Thiago Pinto | 2012-12-06 | 1 | -2/+2 | |
| | | | | | | | ||||||
| * | | | | | | Introduce Bundler and Gemfiles in a NOTE | Pablo Torres | 2012-12-05 | 1 | -0/+2 | |
| | | | | | | | ||||||
| * | | | | | | Define a generator before referring to it | Pablo Torres | 2012-12-04 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Correct bad English | Pablo Torres | 2012-12-04 | 1 | -2/+2 | |
| | | | | | | | ||||||
| * | | | | | | Merge pull request #120 from tonytonyjan/patch | 簡煒航 | 2012-12-04 | 1 | -1/+18 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | add a notice about loading assets in production mode | |||||
| | * | | | | | | add a notice about loading assets in production mode | Tony Jian | 2012-12-05 | 1 | -1/+18 | |
| |/ / / / / / | ||||||
* | | | | | | | Fix scaffold controller generator tests | Carlos Antonio da Silva | 2012-12-08 | 1 | -8/+6 | |
| | | | | | | | ||||||
* | | | | | | | Improve where.not docs [ci skip] | Carlos Antonio da Silva | 2012-12-08 | 1 | -14/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix example queries * Remove doc entries of where.like/not_like. * Remove :chain from where.not related docs. To me that's an implementation detail and we don't expect people to use where(:chain).not. | |||||
* | | | | | | | Merge pull request #8461 from frodsan/fix_assert_method_generators | Carlos Antonio da Silva | 2012-12-08 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Fix #assert_instance_method to also assert indented methods | |||||
| * | | | | | | | Fix #assert_instance_method to also assert indented methods | Francesco Rodriguez | 2012-12-08 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge pull request #8465 from frodsan/update_am_action_callbacks | Rafael Mendonça França | 2012-12-08 | 5 | -19/+19 | |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | use _action callbacks in actionmailer | |||||
| * | | | | | | | | use _action callbacks in actionmailer | Francesco Rodriguez | 2012-12-08 | 5 | -19/+19 | |
|/ / / / / / / / | ||||||
* | | | | | | | | Merge pull request #8395 from bmaland/attr_accessors | Carlos Antonio da Silva | 2012-12-08 | 1 | -23/+1 | |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Use attr_accessor for Rails.{application,cache,logger} | |||||
| * | | | | | | | | Use attr_accessor for Rails.{application,cache,logger} | Bjørn Arild Mæland | 2012-12-01 | 1 | -23/+1 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Merge pull request #8457 from caike/master | Carlos Antonio da Silva | 2012-12-08 | 1 | -4/+4 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update AR Changelog with correct example using includes [ci skip] | |||||
| * | | | | | | | | | Update AR Changelog with correct example using includes | Caike Souza | 2012-12-08 | 1 | -4/+4 | |
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | These queries don't seem to work without the includes clause. [ci skip] | |||||
* | | | | | | | | | Merge pull request #8462 from frodsan/update_guides_action_callbacks | Carlos Antonio da Silva | 2012-12-08 | 6 | -21/+21 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Update guides to use _action callbacks [ci skip] | |||||
| * | | | | | | | | | update guides to use _action callbacks [ci skip] | Francesco Rodriguez | 2012-12-07 | 6 | -21/+21 | |
| |/ / / / / / / / | ||||||
* | | | | | | | | | Merge pull request #8459 from frodsan/explicit! | Carlos Antonio da Silva | 2012-12-08 | 2 | -19/+14 | |
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | use :only instead of :except callback option in the controller template | |||||
| * | | | | | | | | fix scaffold controller generator tests | Francesco Rodriguez | 2012-12-07 | 1 | -16/+12 | |
| | | | | | | | | | ||||||
| * | | | | | | | | use :only instead of :except callback option in the controller template | Francesco Rodriguez | 2012-12-07 | 1 | -3/+2 | |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As [Security Guide](http://edgeguides.rubyonrails.org/security.html#whitelists-versus-blacklists) says, it's better to use `before_filter only: []` instead of `except: []` so we don't forget to turn the filter off for newly added actions. | |||||
* | | | | | | | | Merge pull request #8456 from frodsan/actionize2 | Xavier Noria | 2012-12-07 | 5 | -32/+76 | |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Actionize2 | |||||
| * | | | | | | | | add tests to aliased _filter callbacks | Francesco Rodriguez | 2012-12-07 | 1 | -0/+46 | |
| | | | | | | | | | ||||||
| * | | | | | | | | use `_action` instead of `_filter` callbacks | Francesco Rodriguez | 2012-12-07 | 5 | -34/+32 | |
|/ / / / / / / / | ||||||
* | | | | | | | | Merge pull request #8455 from frodsan/actionize | Xavier Noria | 2012-12-07 | 14 | -28/+28 | |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Actionize: Use `_action` callbacks in documentation and code | |||||
| * | | | | | | | | update documentation and code to use _action callbacks | Francesco Rodriguez | 2012-12-07 | 13 | -25/+25 | |
| | | | | | | | | | ||||||
| * | | | | | | | | fix prepend_before_filter documentation [ci skip] | Francesco Rodriguez | 2012-12-07 | 1 | -3/+3 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Merge pull request #8454 from frodsan/deprecate_as_basic_object | Jeremy Kemper | 2012-12-07 | 6 | -15/+29 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObject | |||||
| * | | | | | | | | | Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObject | Francesco Rodriguez | 2012-12-07 | 6 | -15/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AS::BasicObject is used for proxy classes. Let's give it a less concerning name. Also, it avoids the confusion with Ruby's Basic Object. | |||||
* | | | | | | | | | | Let the scaffold example use the "set shared record" pattern to explain ↵ | David Heinemeier Hansson | 2012-12-07 | 1 | -6/+7 | |
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | callbacks | |||||
* | | | | | | | | | Rollback where.like and where.not_like | Carlos Antonio da Silva | 2012-12-07 | 3 | -46/+4 | |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The real win with these chain methods is where.not, that takes care of different scenarios in a graceful way, for instance when the given value is nil. where("author.id != ?", author_to_ignore.id) where.not("author.id", author_to_ignore.id) Both where.like and where.not_like compared to the SQL versions doesn't seem to give us that much: Post.where("title LIKE 'ruby on%'") Post.where.like(title: 'ruby on%'") Post.where("title NOT LIKE 'ruby on%'") Post.where.not_like(title: 'ruby on%'") Thus Rails is adding where.not, but not where.like/not_like and others. |