Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | 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] | |||||
* | | | Create generators http_only! setup and hide some common namespaces for now | Carlos Antonio da Silva | 2012-03-14 | 3 | -4/+42 | |
| | | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | | | Generate middleware http_only! config when running http only app generator | Carlos Antonio da Silva | 2012-03-14 | 2 | -1/+16 | |
| | | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | | | Add http-only option to Rails app generator | Carlos Antonio da Silva | 2012-03-14 | 4 | -5/+18 | |
| | | | | | | | | | | | | | | | | | | | | | Change application controller template accordingly, to inherit from ActionController::HTTP and not generate protect_from_forgery call. [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | | | Add ActionController::HTTP | Santiago Pastorino | 2012-03-14 | 2 | -1/+28 | |
| | | | | | | | | | | | | | | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | | | Remove key_value helper now that master is 1.9 only and we always use | Rafael Mendonça França | 2012-03-13 | 9 | -35/+21 | |
| | | | | | | | | | | | | the 1.9 hash syntax in the generators. | |||||
* | | | Update API guide with latest decisions. | José Valim | 2012-03-14 | 1 | -10/+8 | |
| | | | ||||||
* | | | [engines guide] Add information about running and reverting specified ↵ | Piotr Sarnacki | 2012-03-14 | 1 | -4/+16 | |
| | | | | | | | | | | | | migrations [skip ci] | |||||
* | | | Expand changelog and upgrading rails guide with IdentityMap info | Carlos Antonio da Silva | 2012-03-13 | 1 | -0/+4 | |
| | | | ||||||
* | | | Remove IdentityMap | Carlos Antonio da Silva | 2012-03-13 | 3 | -13/+0 | |
| | | | ||||||
* | | | Add sprockets-rails to generated Gemfile. This should be reverted after ↵ | Guillermo Iguaran | 2012-03-13 | 1 | -0/+2 | |
| | | | | | | | | | | | | sprockets-rails release on rubygems | |||||
* | | | The sprockets railtie was moved to sprockets/rails/railtie | Guillermo Iguaran | 2012-03-13 | 4 | -4/+4 | |
| | | |