Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | [getting started] Improve explanation around initial controller generator usage | Ryan Bigg | 2012-03-14 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | [getting started] remove indentation for get 'posts/new' | Ryan Bigg | 2012-03-14 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | [getting started] Reworking beginnings of the 'meat' of the guide | Ryan Bigg | 2012-03-14 | 1 | -44/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This guide will now create the new action first, then the create action and so on and so forth until the controller has all seven RESTful actions. We are doing this to demonstrate to a user how to *properly* build a controller. We do not mention scaffold *ON PURPOSE*. Scaffold is evil. We want to show the users the different facets of creating a resource, and this is how we're going to do it. | |||||
| * | | | | | [getting started] Default root route in config/routes.rb is for a welcome ↵ | Ryan Bigg | 2012-03-14 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | controller. Let's make it easy by creating a WelcomeController, not a HomeController, in the guide | |||||
| * | | | | | [getting started] add warning that guide is being worked on (just for edge) | Ryan Bigg | 2012-03-14 | 1 | -0/+2 | |
| | | | | | | ||||||
| * | | | | | [getting started] Link to Bundler website when explaining Gemfile[.lock] | Ryan Bigg | 2012-03-14 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | [getting started] Improve prose for initial routing section | Ryan Bigg | 2012-03-14 | 1 | -6/+5 | |
| | | | | | | ||||||
| * | | | | | [getting started] mention generators early on, when rails new is mentioned. | Ryan Bigg | 2012-03-14 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This is to show one of the 'wins' of Rails nice and early. More are demonstrated as we flow through the guide. | |||||
| * | | | | | [getting started] briefly explain what a controller and view are | Ryan Bigg | 2012-03-14 | 1 | -1/+8 | |
| | | | | | | ||||||
| * | | | | | [getting started] more line lengthening | Ryan Bigg | 2012-03-14 | 1 | -63/+18 | |
| | | | | | | ||||||
| * | | | | | [getting started] fix lines that are too short. | Ryan Bigg | 2012-03-14 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This should be a configuration setting on your text editor, rather than hard-coded into the guide | |||||
| * | | | | | [getting started] update Rails version to 3.2.2 | Ryan Bigg | 2012-03-14 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | [getting started] *THE* way to install Rails is by running +gem install+. ↵ | Ryan Bigg | 2012-03-14 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | You should not run this as the root user. | |||||
| * | | | | | [getting started] Remove super-early mention of REST from Getting Started guide. | Ryan Bigg | 2012-03-14 | 1 | -148/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | We will mention this as we introduce the routing components for Rails later on in the guide. | |||||
| * | | | | | Move database configuration section from Getting Started Guide into ↵ | Ryan Bigg | 2012-03-14 | 2 | -140/+93 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration guide This is because newbies don't need to know immediately all the different ways of configuring a database on Rails. The default is SQLite3 which'll work on most operating systems by default. The only reason for it to *not* work is due to missing packages on the operating system, which should be taken care of in some sort of 'Installing Rails for <Operating System> guide. | |||||
| * | | | | | Minor clarification in documentation language and spelling | Matthew Daubert | 2012-03-13 | 1 | -4/+4 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #5480 from drogus/rendering-issues | José Valim | 2012-03-17 | 8 | -0/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Fix for #5440 | |||||
* | | | | | | Merge pull request #5321 from pfeiffer/uniqueness_validator_conditions | José Valim | 2012-03-17 | 2 | -2/+30 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add :conditions option to uniqueness validator | |||||
| * | | | | | | Correct grammar in documentation | Mattias Pfeiffer | 2012-03-07 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Change syntax to accept an AR::Relation instead of old conditions hash/array. | Mattias Pfeiffer | 2012-03-07 | 2 | -4/+10 | |
| | | | | | | | ||||||
| * | | | | | | Add :conditions option to uniqueness validator | Mattias Pfeiffer | 2012-03-07 | 2 | -2/+24 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #5487 from kennyj/should_use_argument | José Valim | 2012-03-17 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Should use an argument in http_digest_authentication_test.rb | |||||
| * | | | | | | | Should use an argument in http_digest_authentication_test.rb | kennyj | 2012-03-17 | 1 | -1/+1 | |
|/ / / / / / / | ||||||
* | | | | | | | Merge pull request #5470 from sandeepravi/warning_fixes | José Valim | 2012-03-17 | 1 | -0/+5 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | fixed - warning: instance variable @controller not initialized | |||||
| * | | | | | | | fixed - warning: instance variable @controller not initialized | Sandeep | 2012-03-16 | 1 | -0/+5 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge pull request #5483 from luke-gru/gemfile_change | José Valim | 2012-03-17 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | switch rack-test in Gemfile to using git protocol | |||||
| * | | | | | | | switch rack-test in Gemfile to using git protocol | Luke Gruber | 2012-03-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can't run tests if git not compiled with libcurl | |||||
* | | | | | | | | Merge pull request #5484 from luke-gru/consistent_module_naming | Xavier Noria | 2012-03-16 | 3 | -6/+6 | |
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | use consistent explicit module inclusion | |||||
| * | | | | | | | use consistent explicit module inclusion | Luke Gruber | 2012-03-16 | 3 | -6/+6 | |
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | aid ease of understanding and readability for tests | |||||
* | | | | | | | Merge pull request #5475 from rafaelfranca/fix-build | Piotr Sarnacki | 2012-03-16 | 1 | -12/+15 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Fix ActiveRecord::Relation#blank? tests | |||||
| * | | | | | | | Fix ActiveRecord::Relation#blank? tests | Rafael Mendonça França | 2012-03-16 | 1 | -12/+15 | |
|/ / / / / / / | ||||||
* | | | | | | | use empty? on the hash to avoid another method call | Aaron Patterson | 2012-03-16 | 1 | -1/+1 | |
| | | | | | | | ||||||
* | | | | | | | removed unnecessary calls to "freeze" | Aaron Patterson | 2012-03-16 | 1 | -2/+1 | |
| | | | | | | | ||||||
* | | | | | | | remove some mocha stubs | Aaron Patterson | 2012-03-16 | 1 | -6/+11 | |
| | | | | | | | ||||||
* | | | | | | | make stubbing Time.now easier | Aaron Patterson | 2012-03-16 | 1 | -1/+7 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #5469 from yakko/master | José Valim | 2012-03-16 | 1 | -0/+19 | |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | tests for Relation .present? .blank? | |||||
| * | | | | | | test relation presence fix | Thiago Almeida | 2012-03-16 | 1 | -4/+4 | |
| | | | | | | | ||||||
| * | | | | | | tests for Relation .present? and .blank? are check cases and shouldn't force ↵ | Thiago Almeida | 2012-03-16 | 1 | -0/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | sql-count | |||||
* | | | | | | | Merge pull request #5468 from sandeepravi/warning_fixes | Santiago Pastorino | 2012-03-16 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | fixed - warning: ambiguous first argument; put parentheses or even spaces | |||||
| * | | | | | | | fixed - warning: ambiguous first argument; put parentheses or even spaces | Sandeep | 2012-03-16 | 1 | -1/+1 | |
|/ / / / / / / | ||||||
* | | | | | | | Speed up mass assignment by avoiding extra loops. | José Valim | 2012-03-16 | 1 | -7/+5 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #5467 from bogdan/initialize_callbacks | José Valim | 2012-03-16 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | ActiveRecord::Core#initialize: improve performance | |||||
| * | | | | | | | ActiveRecord::Core#initialize: improve performance | Bogdan Gusiev | 2012-03-15 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge pull request #5466 from carlosantoniodasilva/as-review | José Valim | 2012-03-16 | 9 | -71/+36 | |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Remove deprecation from AS::Deprecation behavior, some minor cleanups | |||||
| * | | | | | | | | Remove deprecation from AS::Deprecation behavior, some minor cleanups | Carlos Antonio da Silva | 2012-03-16 | 9 | -71/+36 | |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor log subscriber, use select! to avoid a new object * Remove deprecation messages related to AS::Deprecation behavior This was added about 2 years ago for Rails 3: https://github.com/rails/rails/commit/d4c7d3fd94e5a885a6366eaeb3b908bb58ffd4db * Remove some not used requires * Refactor delegate to avoid string conversions and if statements inside each block | |||||
* | | | | | | | | Merge pull request #5465 from sandeepravi/warning_fixes | José Valim | 2012-03-16 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | fixed - warning: assigned but unused variable - checker | |||||
| * | | | | | | | | fixed - warning: assigned but unused variable - checker | Sandeep | 2012-03-16 | 1 | -1/+1 | |
|/ / / / / / / / | ||||||
* | | | | | | | | Merge pull request #5365 from avakhov/ac-layouts-excpetion-msgs | Piotr Sarnacki | 2012-03-16 | 1 | -2/+2 | |
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | Fix exceptions messages in AC layouts | |||||
| * | | | | | | | Fix exceptions messages in AC layouts | Alexey Vakhov | 2012-03-10 | 1 | -2/+2 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge pull request #5461 from yakko/master | José Valim | 2012-03-16 | 1 | -0/+4 | |
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | relation .present? and .blank? should not query SELECT COUNT(DISTINCT id) |