Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | There is only task for installing migrations when using engines | Wojciech Wnętrzak | 2012-07-04 | 1 | -2/+1 | |
| | ||||||
* | Revert "Allow loading external route files from the router" | José Valim | 2012-06-29 | 1 | -6/+1 | |
| | | | | | | | | | | | | | | This reverts commit 6acebb38bc0637bc05c19d87f8767f16ce79189b. Usage of this feature did not reveal any improvement in existing apps. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb guides/source/routing.textile railties/lib/rails/engine.rb railties/lib/rails/paths.rb railties/test/paths_test.rb | |||||
* | Remove unused responsibilities and add a few load definitions to engines | José Valim | 2012-06-29 | 1 | -64/+59 | |
| | | | | | | | | Since plugins were removed, we can clean up a few methods in engines. We also use this opportunity to move `load_console`, `load_tasks` and `load_runner` to Rails::Engine. This means that, if someone wants to improve script/rails for engines to support console or runner commands, part of the work is already done. | |||||
* | Remove unnecessary Railties structure now that plugins are gone | José Valim | 2012-06-29 | 1 | -12/+12 | |
| | ||||||
* | Add support runner hook. | kennyj | 2012-05-29 | 1 | -0/+5 | |
| | ||||||
* | Fixed backward incompatibility for engines. | Philip Arndt | 2012-05-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | - Many engines rely on being able to join directories to the Rails root: Rails.root.join('somedir') - This was now impossible because Rails.root returned a String: NoMethodError: undefined method `join' for "/code/myrailsapp":String - This was broken in 4001835db00ce44cb75bca33ec02cd76b8ccc790 | |||||
* | removing more pathnameisms | Aaron Patterson | 2012-05-23 | 1 | -3/+3 | |
| | ||||||
* | I guess we have to return a pathname object. o_O | Aaron Patterson | 2012-05-22 | 1 | -1/+1 | |
| | ||||||
* | use File.realpath and avoid making Pathname objects | Aaron Patterson | 2012-05-22 | 1 | -2/+1 | |
| | ||||||
* | use RUBY_PLATFORM in case of cross compiled ruby | Aaron Patterson | 2012-05-22 | 1 | -1/+1 | |
| | ||||||
* | initialize our instance variables | Aaron Patterson | 2012-05-22 | 1 | -2/+14 | |
| | ||||||
* | Load all the env files available in config.paths (closes #6335) | Piotr Sarnacki | 2012-05-16 | 1 | -2/+3 | |
| | ||||||
* | Removing ==Examples and last blank lines of docs from railties | Francesco Rodriguez | 2012-05-14 | 1 | -5/+0 | |
| | ||||||
* | Merge pull request #5821 from Deradon/fix-engine-tasks | Piotr Sarnacki | 2012-05-03 | 1 | -1/+6 | |
|\ | | | | | Provided fix for calling rake tasks within mountable engines | |||||
| * | Provided fix for calling rake tasks within mountable engines | Patrick Helm | 2012-04-12 | 1 | -1/+6 | |
| | | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-01 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | Code-format references to config settings | Mark Rushakoff | 2012-04-27 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix Engine#routes to not call draw_paths multiple times | Piotr Sarnacki | 2012-04-28 | 1 | -2/+4 | |
| | | | ||||||
* | | | Engine#routes? method has been fixed | Roman V. Babenko | 2012-04-28 | 1 | -1/+1 | |
|/ / | ||||||
* | | Routes reloader knows how to reload external files | Yehuda Katz | 2012-04-25 | 1 | -0/+2 | |
| | | ||||||
* | | Fix the build | Yehuda Katz | 2012-04-25 | 1 | -1/+1 | |
| | | ||||||
* | | Allow loading external route files from the router | Jose and Yehuda | 2012-04-25 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications. | |||||
* | | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -4/+4 | |
|/ | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | |||||
* | Simplify helpers handling. Ensure Metal can run AC hooks. | José Valim | 2012-03-15 | 1 | -1/+1 | |
| | ||||||
* | Fix typo in isolated engine docs | Caius Durling | 2012-03-06 | 1 | -1/+1 | |
| | ||||||
* | update engines guide to explicitly reference relative-to-engine-root-path ↵ | Ryan Bigg | 2012-02-16 | 1 | -1/+1 | |
| | | | | for db/seeds.rb | |||||
* | Rails::Engine docs should use helper method, not helpers | Ryan Bigg | 2012-02-16 | 1 | -1/+1 | |
| | ||||||
* | Fix documentation bug in Rails::Engine | Trotter Cashion | 2012-01-19 | 1 | -1/+1 | |
| | ||||||
* | Fixed small typo in the Rails::Engine documentation. | Rafael Valverde | 2011-12-15 | 1 | -1/+1 | |
| | ||||||
* | seed file was already tested for existence. ಠ_ಠ | Aaron Patterson | 2011-12-14 | 1 | -1/+1 | |
| | ||||||
* | Revert "Provide a unique point for running initializers." | José Valim | 2011-12-13 | 1 | -2/+4 | |
| | | | | | | | | | | This reverts commit c2e3ce8d1e1174e66536d59d8d97eb2cc8ce6f25. Conflicts: railties/lib/rails/application/configuration.rb railties/lib/rails/application/finisher.rb railties/lib/rails/engine.rb | |||||
* | Speed up development by only reloading classes if dependencies files changed. | José Valim | 2011-12-12 | 1 | -1/+1 | |
| | | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3 | |||||
* | Provide a unique point for running initializers. | José Valim | 2011-12-12 | 1 | -4/+2 | |
| | ||||||
* | Allow to change engine's loading priority with config.railties_order= | Piotr Sarnacki | 2011-11-23 | 1 | -2/+22 | |
| | ||||||
* | Rely on a public contract between railties instead of accessing railtie ↵ | José Valim | 2011-11-23 | 1 | -17/+26 | |
| | | | | methods directly. | |||||
* | fixed example code indentation | Wojciech Wnętrzak | 2011-11-10 | 1 | -6/+6 | |
| | ||||||
* | Removing db/seeds.rb is fine. Don't blow up. | Jeremy Kemper | 2011-10-29 | 1 | -1/+1 | |
| | ||||||
* | :group => :assets should only run in the assets environment. | José Valim | 2011-10-02 | 1 | -1/+1 | |
| | ||||||
* | `rake assets:precompile` loads the application but does not initialize it. | José Valim | 2011-09-24 | 1 | -2/+2 | |
| | | | | | | | | | | | | | To the app developer, this means configuration add in config/initializers/* will not be executed. Plugins developers need to special case their initializers that are meant to be run in the assets group by adding :group => :assets. Conflicts: railties/CHANGELOG railties/test/application/assets_test.rb | |||||
* | dealing with some -w warnings on startup | Aaron Patterson | 2011-08-24 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #2324 from zenapsis/3-1-stable | Santiago Pastorino | 2011-08-01 | 1 | -3/+3 | |
| | | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories | |||||
* | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 1 | -5/+5 | |
| | | | | | | English to American English(according to Weber) | |||||
* | little details seen while doing a pass through what's new in docrails | Xavier Noria | 2011-07-23 | 1 | -1/+2 | |
| | ||||||
* | spacing fix | Vijay Dev | 2011-07-20 | 1 | -1/+1 | |
| | ||||||
* | misc grammar and clarity changes for rails/engine docs | Matt Jankowski | 2011-07-12 | 1 | -26/+29 | |
| | ||||||
* | Fix has_migrations? check in Rails::Engine | Sam Pohlenz | 2011-07-03 | 1 | -1/+1 | |
| | ||||||
* | OrderedOptions must implement respond_to? if it implements method_missing. | Chris Eppstein | 2011-06-27 | 1 | -9/+3 | |
| | ||||||
* | Cherry-picking patch for https://github.com/rails/rails/issues/1460 | Joseph Wong | 2011-06-16 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | from 3-1-stable to master [3.1.0.rc1] Plugins inside engines not eager-loaded properly and their rake tasks ignored Working with the new support for plugins inside engines in Rails 3.1, I found that certain things that work for regular plugins don't work for these new nested plugins. In particular, these methods in Rails::Engine don't seem to understand that an engine could have nested plugins: #load_tasks #load_generators #load_console #eager_load! A solution which worked out for me is to move the calls to railties.all { ... } from the overriding methods in Rails::Application into Rails::Engine. | |||||
* | Move load_generators from Rails::Application to Rails::Engine | Stefan Sprenger | 2011-05-26 | 1 | -0/+12 | |
| | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-25 | 1 | -3/+3 | |
|\ | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb |