Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `respond_to_missing?` should be private | Ryuta Kamizono | 2017-04-22 | 1 | -4/+4 |
| | | | | | | | Follow up of 03d3f036. Some of `respond_to?` were replaced to `respond_to_missing?` in 03d3f036. But the visibility is still public. It should be private. | ||||
* | Privatize unneededly protected methods in Railties | Akira Matsuda | 2016-12-25 | 1 | -3/+2 |
| | |||||
* | remove warning from railtie | yuuji.yaginuma | 2016-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | This removes the following warnings. ```ruby rails/railties/lib/rails/railtie.rb:186: warning: instance variable @rake_tasks not initialized rails/railties/lib/rails/railtie.rb:186: warning: instance variable @rake_tasks not initialized rails/railties/lib/rails/railtie.rb:186: warning: instance variable @load_console not initialized rails/railties/lib/rails/railtie.rb:186: warning: instance variable @rake_tasks not initialized ``` | ||||
* | Make `register_block_for` private | Arthur Neves | 2016-11-01 | 1 | -11/+11 |
| | |||||
* | Merge PR #26052 | Arthur Neves | 2016-11-01 | 1 | -12/+16 |
|\ | |||||
| * | Added register_block method to register rake_tasks, generators, console & ↵ | Rafael Fidelis | 2016-11-01 | 1 | -12/+16 |
| | | | | | | | | | | | | | | | | | | | | runner blocks fixing @generators var initialization pre initializing variables values Changing from var init to symbol to instance var get/set | ||||
* | | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -19/+19 |
| | | |||||
* | | applies new string literal convention in railties/lib | Xavier Noria | 2016-08-06 | 1 | -5/+5 |
|/ | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | removes unneeded require in rails/railtie.rb | Xavier Noria | 2016-04-18 | 1 | -2/+1 |
| | | | | | | | | | | | | Railties' `config` method instatiates a Rails::Railtie::Configuration object. Rails::Configuration is not used in this file. The patch does not replace the file being required with the one for Rails::Railtie::Configuration because that one is autoloaded. See the spot where this patch changes double quotes with single quotes. Rails::Railtie::Configuration does depend on Rails::Configuration, and it requires it accordingly. | ||||
* | edit pass over the RDoc of Rails::Railtie [ci skip] | Xavier Noria | 2016-04-11 | 1 | -36/+36 |
| | | | | | | | | | | | | | | | | The pass touches a few minor things. One important aspect is that the wording treats "railtie" as a regular noun. This is so because Railtie is a constant and generally the text refers to "classes that act as railties", which is different. Railties are so fundamental in Rails that deserve a noun, like engine, class, array, application, etc. They have a meaning per se, beyond constants. Also, make clear an extension's railtie does not need to be called "Railtie" or have "Railtie" in their class name. | ||||
* | mark as #:nodoc: [ci skip] | Gaurav Sharma | 2016-02-15 | 1 | -4/+7 |
| | | | can’t be instantiate directly or may be no need for doc. | ||||
* | improve grammar | Michael Dawson | 2015-01-14 | 1 | -1/+1 |
| | |||||
* | Ensure we supply Kernel#y for 1.9 too | Matthew Draper | 2014-04-04 | 1 | -8/+10 |
| | | | | | | | | In 1.9, it doesn't live in its own file, so we'll have to define it ourselves. Check RUBY_VERSION, instead of rescuing the require, because we want this to break if `psych/y` moves in a future Ruby release. | ||||
* | pass strings to the underscore method | Aaron Patterson | 2014-02-26 | 1 | -2/+2 |
| | |||||
* | Improve font of some code in API documentation [ci skip] | Chun-wei Kuo | 2013-12-26 | 1 | -3/+3 |
| | | | | | * Add "<tt>" or "+" to improve font of some code and filenames in API documentation * Does not contain wording changes | ||||
* | Removing the app constant and replacing it with Rails.application | wangjohn | 2013-04-30 | 1 | -1/+5 |
| | | | | | syntax. This helps removing the class level abstraction of an application. | ||||
* | Removing Railtie::Configurable from the base Railtie object and making | wangjohn | 2013-04-29 | 1 | -2/+34 |
| | | | | | Railtie itself abstract. This stops the weird behavior of forcing subclasses of Railtie to include the Configurable module. | ||||
* | delegate to :class rather than 'self.class' | Gosha Arinich | 2013-01-06 | 1 | -1/+1 |
| | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -1/+1 |
| | |||||
* | Get rid of config.preload_frameworks in favor of config.eager_load_namespaces | José Valim | 2012-08-21 | 1 | -3/+0 |
| | | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly. | ||||
* | Remove unused responsibilities and add a few load definitions to engines | José Valim | 2012-06-29 | 1 | -15/+17 |
| | | | | | | | | 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. | ||||
* | Rake::DSL should always be available | Jeremy Kemper | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | Explicitly require rake so its DSL is available | Jeremy Kemper | 2012-05-31 | 1 | -0/+1 |
| | |||||
* | Add support runner hook. | kennyj | 2012-05-29 | 1 | -0/+10 |
| | |||||
* | Code-format references to config settings | Mark Rushakoff | 2012-04-27 | 1 | -1/+1 |
| | |||||
* | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -1/+1 |
| | |||||
* | Remove Active Resource source files from the repository | Prem Sichanugrist | 2012-03-13 | 1 | -1/+1 |
| | | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu. | ||||
* | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 1 | -4/+4 |
| | |||||
* | Call a block passed rake_tasks method in the self context | kennyj | 2011-11-27 | 1 | -1/+1 |
| | |||||
* | Rely on a public contract between railties instead of accessing railtie ↵ | José Valim | 2011-11-23 | 1 | -1/+1 |
| | | | | methods directly. | ||||
* | Requiring delegate. | Arun Agrawal | 2011-08-16 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-18 | 1 | -1/+1 |
|\ | |||||
| * | fixed typo for a methodname | thoefer | 2011-06-11 | 1 | -1/+1 |
| | | |||||
* | | load_generators from engine should also handle self automatically. | José Valim | 2011-06-15 | 1 | -3/+3 |
|/ | |||||
* | Use namespace if it's a mountable engine | Stefan Sprenger | 2011-06-07 | 1 | -0/+5 |
| | |||||
* | Everyone receives app as argument for consistency. | José Valim | 2011-05-25 | 1 | -5/+5 |
| | |||||
* | Update generator config to support hiding namespaces and pass the app into ↵ | wycats | 2011-05-24 | 1 | -2/+2 |
| | | | | generator blocks | ||||
* | Make Rake::DSL methods available within Railtie rake_tasks block | Patrick Quinn | 2011-05-20 | 1 | -0/+1 |
| | | | | Fixes incompatibility introduced by Rake 0.9.0 | ||||
* | Move sandbox to AR and pass the sandbox as a value. This way, other ORMs ↵ | José Valim | 2011-05-04 | 1 | -2/+2 |
| | | | | like Datamapper can also have their own sandboxing in rails console. | ||||
* | improve language and examples in Railtie docs | Jimmy Cuadra | 2011-02-18 | 1 | -33/+21 |
| | |||||
* | Minor fix on Rails:Railtie documentation | zhengjia | 2010-11-21 | 1 | -2/+2 |
| | |||||
* | Load rake tasks defined in superclasses in context of railties | Piotr Sarnacki | 2010-10-09 | 1 | -0/+7 |
| | |||||
* | Deprecate generators in Railties. You should use app_generators instead. | José Valim | 2010-10-02 | 1 | -1/+1 |
| | |||||
* | Add table_name_prefix to Engine's namespace automatically | Piotr Sarnacki | 2010-09-03 | 1 | -1/+6 |
| | |||||
* | Always convert railtie_name to string | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Add Rails::Railtie.railtie_name method to allow setting custom name for railtie | Piotr Sarnacki | 2010-09-03 | 1 | -0/+7 |
| | |||||
* | Move singleton pattern to Railtie and remove Engine::Configurable and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -1/+7 |
| | | | | Application::Configurable in favor of unified Railtie::Configurable | ||||
* | Removed most of deprecated stuff from Application and Engine | Piotr Sarnacki | 2010-09-03 | 1 | -9/+0 |
| | |||||
* | fixing typo | Neeraj Singh | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -2/+2 |
| | | | | 's/[ \t]*$//' -i {} \;) |