Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | favor composition over inheritance | Aaron Patterson | 2012-03-26 | 2 | -8/+30 | |
| | | | ||||||
* | | | still need to ensure the path is a directory | Aaron Patterson | 2012-03-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | eliminating a branch we do not need. thanks @jeremy | Aaron Patterson | 2012-03-26 | 1 | -30/+3 | |
| | | | ||||||
* | | | stop using *args in order to simplify our constructor | Aaron Patterson | 2012-03-26 | 1 | -5/+4 | |
| | | | ||||||
* | | | Don't depend on ivars. Thanks @fesplugas | Aaron Patterson | 2012-03-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Remove useless conditional. | Pete Higgins | 2012-03-25 | 1 | -7/+1 | |
| | | | ||||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-24 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: guides/source/ruby_on_rails_guides_guidelines.textile | |||||
| * | | | Adding comma to correct syntax in comment. | Jesse Brown | 2012-03-19 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | chdir before globbing so that we don't need to escape directory names. | Aaron Patterson | 2012-03-23 | 1 | -1/+30 | |
| | | | | | | | | | | | | fixes #5521 | |||||
* | | | Merge pull request #5550 from schneems/schneems/server_env | Aaron Patterson | 2012-03-23 | 4 | -0/+63 | |
|\ \ \ | | | | | | | | | Fix environment support for rails server, and match interface of rails console | |||||
| * | | | match rails console environment support, to server | schneems | 2012-03-22 | 2 | -0/+32 | |
| | | | | | | | | | | | | | | | | rails server takes `-e` as an argument to specify RAILS_ENV, rails console currently does not have the same interface. This commit fixes this disparity so developers can manually specify `RAILS_ENV` or can pass in an environment with a `-e`. | |||||
| * | | | fix rails server support of RAILS_ENV variable | schneems | 2012-03-20 | 2 | -0/+31 | |
| |/ / | | | | | | | | | | | | | | | | | | | When launching rails server from the command line with a rails environment specified such as `rails server RAILS_ENV=production` an error would occur since rails will try to use `RAILS_ENV=production` as it's server. When launching rails with a specified server such as thin `rails server thin RAILS_ENV=production` no error will be thrown, but rails will not start up in the specified environment. This fixes both of those cases | |||||
* | | | Fixed missing space bug introduces in ↵ | Anton Lindqvist | 2012-03-22 | 2 | -4/+5 | |
| | | | | | | | | | | | | rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940. | |||||
* | | | Avoid another blank line in generated migration and remove assertion as per ↵ | Marcelo Silveira | 2012-03-21 | 1 | -1/+0 | |
| | | | | | | | | | | | | @spastorino request | |||||
* | | | Merge pull request #5532 from mhfs/migration_blank_line | José Valim | 2012-03-21 | 1 | -0/+1 | |
|\ \ \ | | | | | | | | | Remove blank line from generated migration | |||||
| * | | | Remove blank line from generated migration | Marcelo Silveira | 2012-03-20 | 1 | -0/+1 | |
| |/ / | ||||||
* / / | Generate Migration Thats Adds Removed Index | Travis Jeffery | 2012-03-21 | 1 | -0/+18 | |
|/ / | | | | | | | | | When generating a migration that removes a field with an index, the down will add both the field and its index. | |||||
* | | Merge pull request #5492 from arunagw/build_fix_app_generator_test | Piotr Sarnacki | 2012-03-18 | 1 | -1/+1 | |
|\ \ | | | | | | | Build fix for app_generator_test.rb | |||||
| * | | Build fix for app_generator_test.rb | Arun Agrawal | 2012-03-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #5486 from kennyj/fix_5435 | Aaron Patterson | 2012-03-17 | 1 | -0/+12 | |
|\ \ \ | |/ / |/| | | Fix GH #5435. db:structure:dump should be re-enable. | |||||
| * | | Fix GH #5435. db:structure:dump should be reenable. | kennyj | 2012-03-17 | 1 | -0/+12 | |
| | | | ||||||
* | | | Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform only | Piotr Sarnacki | 2012-03-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | Update the guides and CHANGELOG | Rafael Mendonça França | 2012-03-17 | 1 | -0/+2 | |
| | | | ||||||
* | | | Rack::SSL -> ActionDispatch::SSL | Rafael Mendonça França | 2012-03-17 | 3 | -6/+4 | |
| | | | ||||||
* | | | moves the guides up to the root directory | Xavier Noria | 2012-03-17 | 272 | -40505/+1 | |
| | | | ||||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-17 | 5 | -449/+702 | |
|\ \ \ | |/ / |/| | | | | | | | | Conflicts: railties/guides/source/getting_started.textile | |||||
| * | | using pluck | Egor Homakov | 2012-03-17 | 1 | -1/+1 | |
| | | | ||||||
| * | | Moved squawk method into LocalInstanceMethods module, so it would | Mike Mulvaney | 2012-03-16 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | | | not be added to every ActiveRecord::Base object. Changed acts_as_yaffle so it will include the LocalInstanceMethods module. Now only models that call acts_as_yaffle will get the squawk method, instead of pushing them into every ActiveRecord::Base. | |||||
| * | | Changed unit tests so they refer to yaffle_test_field as symbol. | Mike Mulvaney | 2012-03-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | acts_as_yaffle expects a symbol, so the string was causing the tests to always fail. | |||||
| * | | Add missing quotes on AS::Notifications examples | Carlos Antonio da Silva | 2012-03-15 | 1 | -12/+12 | |
| | | | ||||||
| * | | [ci skip] Add examples of subscribing & creating ActiveSupport::Notifications | adman65 | 2012-03-15 | 1 | -1/+73 | |
| | | | ||||||
| * | | [ci skip] Add examples to instrumentation guide | adman65 | 2012-03-15 | 1 | -42/+322 | |
| | | | ||||||
| * | | [getting started] [ci skip] Fix incongruant use of 'we' and 'you'. Expand ↵ | Ryan Bigg | 2012-03-14 | 1 | -4/+82 | |
| | | | | | | | | | | | | upon creating posts section | |||||
| * | | [getting started] Round out 'Laying down the ground work' section | Ryan Bigg | 2012-03-14 | 1 | -1/+62 | |
| | | | ||||||
| * | | [getting started] rename initial 'meat' section of guide to 'Laying down the ↵ | Ryan Bigg | 2012-03-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | ground work' This section involves a medium amount of setup and explanation (for the end user's own good!). It's not really about creating a post... that's for the *next* section | |||||
| * | | [getting started] correct typo in welcome/index.html.erb template path | Ryan Bigg | 2012-03-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | [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. |