Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | I corrected a code snippet typo in the ↵ | Philip R. Dutton | 2010-10-11 | 1 | -1/+1 |
| | | | | railties/guides/source/initialization.textile file [#5779 state:resolved] | ||||
* | Remove mention to register_javascript_include_default in documentation | Ryan Bigg | 2010-10-11 | 1 | -3/+0 |
| | |||||
* | Fix typo 'configation' [#5575 state:resolved] | Utkarsh Kukreti | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-06 | 3 | -13/+15 |
|\ | |||||
| * | Fixed typo in engine documentation | Thomas McDonald | 2010-10-06 | 1 | -1/+1 |
| | | |||||
| * | Section 6, table, typo (extra '.rb') | Nicholas E. May (on Enterprise) | 2010-10-03 | 1 | -1/+1 |
| | | |||||
| * | Section 4.3, wrong word used: 'contact' => 'content' | Nicholas E. May (on Enterprise) | 2010-10-02 | 1 | -1/+1 |
| | | |||||
| * | Section 3.3: '# bundle install' instead of just 'bundle install' | Nicholas E. May (on Enterprise) | 2010-10-02 | 1 | -1/+1 |
| | | |||||
| * | Section 3.2, table: 'README.rdoc' -> 'README' | Nicholas E. May (on Enterprise) | 2010-10-02 | 1 | -1/+1 |
| | | |||||
| * | Removed unnecessary 'the' in the '2.2.9 Active Suport' section of Getting ↵ | Nicholas E. May (on Enterprise) | 2010-10-02 | 1 | -1/+1 |
| | | | | | | | | Started. | ||||
| * | Action Mailer Basics guide - reformatted configuration table | Jaime Iniesta | 2010-09-30 | 1 | -4/+4 |
| | | |||||
| * | Action Mailer Basics guide - fixed typos | Jaime Iniesta | 2010-09-30 | 1 | -4/+6 |
| | | |||||
* | | Fixes typo | Rafael Mendonça França | 2010-10-06 | 1 | -2/+2 |
| | | |||||
* | | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 17 | -258/+345 |
| | | | | | | | | method_missing. | ||||
* | | Some initial docs | wycats | 2010-10-06 | 1 | -0/+7 |
| | | |||||
* | | Delegate everything to the generator | wycats | 2010-10-06 | 1 | -14/+4 |
| | | |||||
* | | Revert "Clean up the builder abstraction in AppGenerator." | wycats | 2010-10-06 | 2 | -55/+260 |
| | | | | | | | | | | | | | | The phrase "clean up" misrepresents the fact that this removes a feature that ships with Rails 3.0. This reverts commit 6774e12afa0f29442aa612ddf6e51d5a1b7a4356. | ||||
* | | Clean up the builder abstraction in AppGenerator. | José Valim | 2010-10-06 | 2 | -260/+55 |
| | | | | | | | | This commit may be reverted once documentation and a proper way to handle actions are added. | ||||
* | | adding test for namedspaced mailers | Aditya Sanghi | 2010-10-06 | 1 | -0/+9 |
| | | |||||
* | | a couple of touches to the guides guidelines | Xavier Noria | 2010-10-05 | 1 | -2/+1 |
| | | |||||
* | | aaaaannnddd, your beloved typo only spotted in the github colored diff no ↵ | Xavier Noria | 2010-10-05 | 1 | -1/+1 |
| | | | | | | | | matter how many passes you did before pushing | ||||
* | | new guide: Ruby on Rails Guides Guidelines | Xavier Noria | 2010-10-05 | 3 | -0/+83 |
| | | |||||
* | | Don't expect an AD::Response object back from the app. | José Valim | 2010-10-05 | 1 | -11/+10 |
| | | |||||
* | | Use RbConfig instead of Config for 1.9.3 compatibility. | José Valim | 2010-10-05 | 1 | -1/+1 |
| | | |||||
* | | Link to rack from github for this while. | José Valim | 2010-10-04 | 1 | -0/+3 |
| | | |||||
* | | Update to Thor 0.14.3. | José Valim | 2010-10-04 | 1 | -1/+1 |
| | | |||||
* | | Add documentation on app_generators | Piotr Sarnacki | 2010-10-03 | 1 | -0/+20 |
| | | |||||
* | | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 2 | -22/+46 |
| | | |||||
* | | Be more explicit about what is deprecated. | José Valim | 2010-10-02 | 1 | -1/+1 |
| | | |||||
* | | Deprecate generators in Railties. You should use app_generators instead. | José Valim | 2010-10-02 | 3 | -30/+32 |
| | | |||||
* | | :'' is not valid ruby. | José Valim | 2010-10-02 | 1 | -1/+1 |
| | | |||||
* | | reload_routes! is part of the public API and should not be removed. | José Valim | 2010-10-02 | 3 | -3/+16 |
| | | |||||
* | | Fix a routing test. Reorganize middleware tests. | José Valim | 2010-10-02 | 7 | -151/+180 |
| | | |||||
* | | brings csrf_meta_tags back to the generated layout | Xavier Noria | 2010-10-02 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | After more discussion, it has be agreed that this kind of changes within reasonable margins are OK for 3.1. That is, it is fine to change a little bit the generators even if that means examples in existing books won't be exact. (Note that the singular csrf_meta_tag exists as an alias and thus those outdated examples will run, same for existing applications.) | ||||
* | | no need to check for nil | Neeraj Singh | 2010-09-30 | 1 | -1/+1 |
| | | |||||
* | | Add more information to comments. | José Valim | 2010-09-30 | 1 | -3/+5 |
| | | |||||
* | | Try to guess application's directory while trying to run the server, but ↵ | Piotr Sarnacki | 2010-09-30 | 1 | -0/+5 |
| | | | | | | | | only if config.ru is not present in current dir | ||||
* | | Moved Rails::RoutesReloader to Rails::Application::RoutesReloader | Piotr Sarnacki | 2010-09-30 | 3 | -56/+57 |
| | | |||||
* | | Allow running generators for Engine with usage of other application. | Piotr Sarnacki | 2010-09-30 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | After that commit, developers can set ENGINE_PATH in ENGINE/scripts/rails file and load application's ./script/rails (most of the time it will be dummy application used for testing). When running ./script/rails g it will use application to boot up, but then it will use Engine's root and configuration for generators. | ||||
* | | Added config.app_generators to allow configuring application's generators ↵ | Piotr Sarnacki | 2010-09-30 | 4 | -4/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from railties. With config.generators becomes a way to configure generators for current instance only. For example: module Blog class Engine < Rails::Engine config.generators do |g| g.orm :active_record end config.app_generators do |g| g.test_framework :rspec end end end such definition sets :active_record as orm for engine and :rspec as test_framework for application. The values set with app_generators can be overwritten in application using config.generators as you would normally do: module MyApp class Application < Rails::Application config.generators do |g| g.test_framework :test_unit end end end | ||||
* | | Move routes_reloader to a class: RoutesReloader | Piotr Sarnacki | 2010-09-30 | 3 | -23/+57 |
| | | |||||
* | | Properly reload routes defined in class definition | Piotr Sarnacki | 2010-09-30 | 3 | -6/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes it's easier to define routes inside Engine or Application class definition (e.g. one file applications). The problem with such case is that if there is a plugin that has config/routes.rb file, it will trigger routes reload on application. Since routes definition for application is not in config/routes.rb file routes_reloader will fail to reload application's routes properly. With this commit you can pass routes definition as a block to routes method, which will allow to properly reload it: class MyApp::Application < Rails::Application routes do resources :users end end | ||||
* | | Do not overwrite _railtie method on namespace while creating isolated engine ↵ | Piotr Sarnacki | 2010-09-30 | 2 | -12/+33 |
|/ | | | | | | | | | or application. In order to run Engine as standalone application, you will need Rails::Application instance in the same namespace that engine one. It's very important to leave _railtie bound to whatever used "namespace" method first. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Xavier Noria | 2010-09-29 | 8 | -120/+167 |
|\ | |||||
| * | Cleanup of the References section. | Joost Baaij | 2010-09-29 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | Removed non-functional links. Removed links to API documentation. Removed link to Rails 2 material. Renamed "References" to "Further Reading". | ||||
| * | Removed obsolete "advanced" plugin URLs. | Joost Baaij | 2010-09-29 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | | | | | | | | These plugins are obsolete even for Rails 2, they have no place in a Rails 3 guide. Also removed "mad cool" reference. If anyone has ideas about cache plugins that *must* be included, I would love to know. As far as I am concerned the rails guides should stick to built-in methods and have a simple list of references for people wishing to investigate further. I will check out the references after this commit to see if they're up to date. | ||||
| * | review comments | Aditya Sanghi | 2010-09-25 | 1 | -3/+3 |
| | | |||||
| * | add section about email with name | Aditya Sanghi | 2010-09-25 | 1 | -0/+13 |
| | | |||||
| * | Add section about multiple recipients | Aditya Sanghi | 2010-09-25 | 1 | -0/+17 |
| | | |||||
| * | Fixed routing examples in Routing guide. Updated URL to RoutingAssertions ↵ | Kulbir Saini | 2010-09-25 | 1 | -18/+18 |
| | | | | | | | | module. |