Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | 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. | ||||
| * | 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. | ||||
* | | Simplify helpers handling. Ensure Metal can run AC hooks. | José Valim | 2012-03-15 | 2 | -2/+31 |
| | | |||||
* | | Remove remaining http_only? calls. | José Valim | 2012-03-14 | 2 | -14/+4 |
| | | |||||
* | | Remove --http. | José Valim | 2012-03-14 | 19 | -682/+7 |
| | | |||||
* | | Fix scaffold controller template, ensure rake scaffold test pass by default | Carlos Antonio da Silva | 2012-03-14 | 3 | -5/+31 |
| | | |||||
* | | Update railties/guides/source/api_app.textile | José Valim | 2012-03-14 | 1 | -2/+0 |
| | | |||||
* | | Do not generate app/views and sprockets entries on http app | Carlos Antonio da Silva | 2012-03-14 | 2 | -1/+21 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Generate special controller and functional test templates for http apps | Carlos Antonio da Silva | 2012-03-14 | 10 | -5/+181 |
| | | | | | | | | | | | | | | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Rename http-only app generator option to http | Carlos Antonio da Silva | 2012-03-14 | 4 | -10/+10 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Move http only option to AppGenerator | Carlos Antonio da Silva | 2012-03-14 | 2 | -3/+3 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Add test to ensure setting config.generators.http_only actually disables the ↵ | Carlos Antonio da Silva | 2012-03-14 | 2 | -2/+15 |
| | | | | | | | | | | | | generator options [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Allow generator configs from http_only! to be overriden by app | Carlos Antonio da Silva | 2012-03-14 | 2 | -1/+16 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Remove duplicated tests from shared generator | Carlos Antonio da Silva | 2012-03-14 | 2 | -16/+2 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Refactor http_only, remove reader method | Carlos Antonio da Silva | 2012-03-14 | 1 | -14/+19 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Disable template, helper and assets options when using http_only! | Carlos Antonio da Silva | 2012-03-14 | 2 | -1/+32 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] |