aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5492 from arunagw/build_fix_app_generator_testPiotr Sarnacki2012-03-181-1/+1
|\ | | | | Build fix for app_generator_test.rb
| * Build fix for app_generator_test.rbArun Agrawal2012-03-181-1/+1
| |
* | Merge pull request #5486 from kennyj/fix_5435Aaron Patterson2012-03-171-0/+12
|\ \ | |/ |/| Fix GH #5435. db:structure:dump should be re-enable.
| * Fix GH #5435. db:structure:dump should be reenable.kennyj2012-03-171-0/+12
| |
* | Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform onlyPiotr Sarnacki2012-03-171-1/+1
| |
* | Update the guides and CHANGELOGRafael Mendonça França2012-03-171-0/+2
| |
* | Rack::SSL -> ActionDispatch::SSLRafael Mendonça França2012-03-173-6/+4
| |
* | moves the guides up to the root directoryXavier Noria2012-03-17272-40505/+1
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-175-449/+702
|\ \ | |/ |/| | | | | Conflicts: railties/guides/source/getting_started.textile
| * using pluckEgor Homakov2012-03-171-1/+1
| |
| * Moved squawk method into LocalInstanceMethods module, so it wouldMike Mulvaney2012-03-161-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 Mulvaney2012-03-161-2/+2
| | | | | | | | | | acts_as_yaffle expects a symbol, so the string was causing the tests to always fail.
| * Add missing quotes on AS::Notifications examplesCarlos Antonio da Silva2012-03-151-12/+12
| |
| * [ci skip] Add examples of subscribing & creating ActiveSupport::Notificationsadman652012-03-151-1/+73
| |
| * [ci skip] Add examples to instrumentation guideadman652012-03-151-42/+322
| |
| * [getting started] [ci skip] Fix incongruant use of 'we' and 'you'. Expand ↵Ryan Bigg2012-03-141-4/+82
| | | | | | | | upon creating posts section
| * [getting started] Round out 'Laying down the ground work' sectionRyan Bigg2012-03-141-1/+62
| |
| * [getting started] rename initial 'meat' section of guide to 'Laying down the ↵Ryan Bigg2012-03-141-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 pathRyan Bigg2012-03-141-1/+1
| |
| * [getting started] Improve explanation around initial controller generator usageRyan Bigg2012-03-141-1/+1
| |
| * [getting started] remove indentation for get 'posts/new'Ryan Bigg2012-03-141-1/+1
| |
| * [getting started] Reworking beginnings of the 'meat' of the guideRyan Bigg2012-03-141-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 Bigg2012-03-141-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 Bigg2012-03-141-0/+2
| |
| * [getting started] Link to Bundler website when explaining Gemfile[.lock]Ryan Bigg2012-03-141-1/+1
| |
| * [getting started] Improve prose for initial routing sectionRyan Bigg2012-03-141-6/+5
| |
| * [getting started] mention generators early on, when rails new is mentioned.Ryan Bigg2012-03-141-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 areRyan Bigg2012-03-141-1/+8
| |
| * [getting started] more line lengtheningRyan Bigg2012-03-141-63/+18
| |
| * [getting started] fix lines that are too short.Ryan Bigg2012-03-141-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.2Ryan Bigg2012-03-141-1/+1
| |
| * [getting started] *THE* way to install Rails is by running +gem install+. ↵Ryan Bigg2012-03-141-2/+1
| | | | | | | | You should not run this as the root user.
| * [getting started] Remove super-early mention of REST from Getting Started guide.Ryan Bigg2012-03-141-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 Bigg2012-03-142-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é Valim2012-03-152-2/+31
| |
* | Remove remaining http_only? calls.José Valim2012-03-142-14/+4
| |
* | Remove --http.José Valim2012-03-1419-682/+7
| |
* | Fix scaffold controller template, ensure rake scaffold test pass by defaultCarlos Antonio da Silva2012-03-143-5/+31
| |
* | Update railties/guides/source/api_app.textileJosé Valim2012-03-141-2/+0
| |
* | Do not generate app/views and sprockets entries on http appCarlos Antonio da Silva2012-03-142-1/+21
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | Generate special controller and functional test templates for http appsCarlos Antonio da Silva2012-03-1410-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 httpCarlos Antonio da Silva2012-03-144-10/+10
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | Move http only option to AppGeneratorCarlos Antonio da Silva2012-03-142-3/+3
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | Add test to ensure setting config.generators.http_only actually disables the ↵Carlos Antonio da Silva2012-03-142-2/+15
| | | | | | | | | | | | generator options [Carlos Antonio da Silva & Santiago Pastorino]
* | Allow generator configs from http_only! to be overriden by appCarlos Antonio da Silva2012-03-142-1/+16
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | Remove duplicated tests from shared generatorCarlos Antonio da Silva2012-03-142-16/+2
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | Refactor http_only, remove reader methodCarlos Antonio da Silva2012-03-141-14/+19
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | Disable template, helper and assets options when using http_only!Carlos Antonio da Silva2012-03-142-1/+32
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | Create generators http_only! setup and hide some common namespaces for nowCarlos Antonio da Silva2012-03-143-4/+42
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | Generate middleware http_only! config when running http only app generatorCarlos Antonio da Silva2012-03-142-1/+16
| | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]