aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | FileUpdateChecker should be able to handle deleted files.José Valim2011-12-133-9/+15
| |
* | Clean up FileUpdateChecker API.José Valim2011-12-132-5/+5
| |
* | Move hooks back to initializers (we need an API that allows hooks to be ↵José Valim2011-12-132-36/+21
| | | | | | | | replaced).
* | Add config.file_watcher so developers can provide their own watchers (for ↵José Valim2011-12-132-4/+5
| | | | | | | | instance, hooking on fsevents).
* | Merge pull request #3958 from lest/comment-on-whitelistJosé Valim2011-12-121-0/+6
|\ \ | | | | | | commented whitelist mode enforcement for mass assignment
| * | commented whitelist mode enforcement for mass assignmentlest2011-12-131-0/+6
| | |
* | | Revert "Provide a unique point for running initializers."José Valim2011-12-134-13/+10
|/ / | | | | | | | | | | | | | | | | | | This reverts commit c2e3ce8d1e1174e66536d59d8d97eb2cc8ce6f25. Conflicts: railties/lib/rails/application/configuration.rb railties/lib/rails/application/finisher.rb railties/lib/rails/engine.rb
* | Merge pull request #3950 from guilleiguaran/use-https-for-rubygems-in-appsPiotr Sarnacki2011-12-121-1/+1
|\ \ | | | | | | Use rubygems https endpoint for the Gemfile on new apps
| * | Use rubygems https endpoint for the Gemfile on new appsGuillermo Iguaran2011-12-121-1/+1
| | |
* | | Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-126-42/+87
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | strip whitespace errors from the generated GemfileAaron Patterson2011-12-121-1/+1
|/ /
* | Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365Piotrek Okoński2011-12-121-1/+2
| |
* | Give hooks the flexibility to choose the type of callback.José Valim2011-12-122-13/+13
| |
* | Provide a unique point for running initializers.José Valim2011-12-124-9/+13
| |
* | Improve docs for Rails::Application and add routes_reloader_hook and ↵José Valim2011-12-123-29/+77
| | | | | | | | app_reloader_hooks.
* | Composition > inheritance.José Valim2011-12-121-3/+11
| |
* | Merge pull request #3936 from ↵Yehuda Katz2011-12-112-0/+6
|\ \ | | | | | | | | | | | | guilleiguaran/skip-assets-options-when-sprockets-skipped Skip assets options in environments files when --skip-sprockets is used
| * | Skip assets options in environments files when --skip-sprockets is usedGuillermo Iguaran2011-12-112-0/+6
| | |
* | | revising docVijay Dev2011-12-111-3/+1
|/ /
* | Skip assets groups if --skip-sprockets option is givenGuillermo Iguaran2011-12-091-0/+1
| |
* | * ActiveSupport::BufferedLogger#silence is deprecated. If you want to squelchAaron Patterson2011-12-091-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | logs for a certain block, change the log level for that block. * ActiveSupport::BufferedLogger#open_log is deprecated. This method should not have been public in the first place. * ActiveSupport::BufferedLogger's behavior of automatically creating the directory for your log file is deprecated. Please make sure to create the directory for your log file before instantiating. * ActiveSupport::BufferedLogger#auto_flushing is deprecated. Either set the sync level on the underlying file handle like this: f = File.open('foo.log', 'w') f.sync = true ActiveSupport::BufferedLogger.new f Or tune your filesystem. The FS cache is now what controls flushing. * ActiveSupport::BufferedLogger#flush is deprecated. Set sync on your filehandle, or tune your filesystem.
* | Add the .rdoc extension to the README that Rails generates for a new applicationSteve Richert2011-12-091-1/+1
| |
* | fix nodocsVijay Dev2011-12-091-1/+1
| |
* | Update source_annotation_extractor comment.Kazimierz Kiełkowicz2011-12-071-1/+1
| |
* | Add annotation to haml and slim template.Kazimierz Kiełkowicz2011-12-071-0/+4
| |
* | Remove .rxml, .rjs and .rhtml from source annotation regexp.Uģis Ozols2011-12-051-5/+5
| |
* | implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-022-0/+10
|/
* Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-011-0/+3
|
* put backtrace_cleaner to envlest2011-11-281-1/+2
|
* global variable `$rails_rake_task' not initialized Warning removedArun Agrawal2011-11-281-0/+1
|
* Merge pull request #3771 from kennyj/fix_rake_test_warningsJosé Valim2011-11-271-1/+1
|\ | | | | Call a block passed rake_tasks method in the self context
| * Call a block passed rake_tasks method in the self contextkennyj2011-11-271-1/+1
| |
* | avoid absolute path for the rails.png in index.htmlkennyj2011-11-271-1/+1
|/
* added tests, replaced classify with constantize - using classify here cuts ↵Jakub Kuźma2011-11-261-1/+1
| | | | the last 's' in ORM name
* allow using orm_instance without invoking orm_class first in generatorsJakub Kuźma2011-11-261-1/+1
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-257-83/+1
|
* Updating newline fix to maintain existing linebreaks and indentation and ↵John Donahue2011-11-251-3/+4
| | | | test for b/eol on inserts
* Merge pull request #3747 from lest/middleware-loggerJosé Valim2011-11-251-1/+2
|\ | | | | middlewares should have configurable logger
| * middlewares should use logger from envlest2011-11-251-1/+2
| |
* | I suck, forgot to also change rake's task descriptionPiotr Sarnacki2011-11-251-1/+1
| |
* | Display mounted engines in `rake routes` by defaultPiotr Sarnacki2011-11-251-1/+1
| |
* | Merge branch 'serializers'José Valim2011-11-257-1/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md
| * | Add a hook for serializers in the scaffold generator (off for now).José Valim2011-11-252-1/+4
| | |
| * | Add generators for serializers.José Valim2011-11-255-0/+79
| | |
* | | Added tests for #3751ganesh2011-11-251-1/+1
| |/ |/|
* | Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-242-4/+35
| |
* | Allow to change engine's loading priority with config.railties_order=Piotr Sarnacki2011-11-233-4/+47
| |
* | Merge pull request #3731 from HeeL/masterYehuda Katz2011-11-231-3/+14
|\ \ | |/ |/| code stats calculation
| * improved code stats calculation, check on multiline comments and rewrite ↵Sergey Parizhskiy2011-11-231-3/+14
| | | | | | | | regexps according to a class naming convention
* | Rely on a public contract between railties instead of accessing railtie ↵José Valim2011-11-233-18/+31
|/ | | | methods directly.