aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Restore `rake TEST=test/unit/foo_test.rb` support.Jeremy Kemper2011-12-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Add your own test tasks as dependencies on the `test:run` task instead of `test` itself. namespace :test do task run: 'test:acceptance' Rails::SubTestTask.new acceptance: 'test:prepare' do |t| t.libs << 'test' t.pattern = 'test/acceptance/**/*_test.rb' end end
* | Rails::SubTestTask warns on test failure and moves on. Renamed from ↵Jeremy Kemper2011-12-211-45/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TestTaskWithoutDescription. This makes it easier to add your own tests to the default suite: task test: 'test:acceptance' namespace :test do Rails::SubTestTask.new acceptance: 'test:prepare' do |t| t.libs << 'test' t.pattern = 'test/acceptance/**/*_test.rb' end end Now `rake` runs unit, functional, integration, and acceptance tests.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-12-211-3/+3
|\ \
| * | Doc fixes on Rails::Generators::Base.hook_for.Hendy Tanata2011-12-211-3/+3
| | |
* | | Merge pull request #4079 from drogus/http_digest_issueJosé Valim2011-12-211-0/+17
|\ \ \ | | | | | | | | Fix http digest authentication when url ends with `/` or `?`
| * | | Add ORIGINAL_FULLPATH to envPiotr Sarnacki2011-12-211-0/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH
* | | Merge pull request #4063 from andrew/patch-1Piotr Sarnacki2011-12-201-1/+1
|\ \ \ | | | | | | | | Added Capistrano to the development group in Gemfile
| * | | Added Capistrano to the development group in GemfileAndrew Nesbitt2011-12-201-1/+1
| |/ / | | | | | | There's no need for Capistrano to be install on a server, the extra argument in the comment implies this now.
* | | It should be README.rdoc fixes #4067Arun Agrawal2011-12-201-1/+1
| | |
* | | Get rid of more 1.8.x dead codeJosé Valim2011-12-205-26/+7
| | |
* | | Get rid of --old-style-hashJosé Valim2011-12-202-13/+2
|/ /
* | Update ruby_version_check.José Valim2011-12-201-12/+2
| |
* | rails/master is now 4.0.0.beta and will only support Ruby 1.9.3+David Heinemeier Hansson2011-12-201-3/+3
| |
* | Add db/*.sqlite3-journal to .gitignoreJo Liss2011-12-202-0/+2
| | | | | | | | These can pop up while the SQLite DB is being written to.
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the loggerAaron Patterson2011-12-193-6/+5
| | | | | | | | from Ruby stdlib.
* | Party like its R-C-UNO!David Heinemeier Hansson2011-12-191-1/+1
| |
* | Add an invitation to use jbuilder, since we are not going to bundle it in 3.2David Heinemeier Hansson2011-12-191-0/+3
| |
* | Merge pull request #4009 from kirs/generate-rake-taskPiotr Sarnacki2011-12-173-0/+29
|\ \ | | | | | | Rake tasks generator
| * | Rake tasks generator with testKir2011-12-173-0/+29
| | |
* | | Use gem versions of sass-rails and coffee-rails.José Valim2011-12-171-10/+26
| | |
* | | Allow a custom exceptions app to set.José Valim2011-12-162-2/+3
| | |
* | | Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-161-1/+1
| | |
* | | Fixed small typo in the Rails::Engine documentation.Rafael Valverde2011-12-151-1/+1
| | |
* | | Fix diagnostics page for routing errors.José Valim2011-12-151-0/+1
| | |
* | | Clean up the cache before the request in case we are running in the ↵José Valim2011-12-151-1/+1
| | | | | | | | | | | | reload_classes_only_on_change schema.
* | | Added .sass-cache/ directory to the genrated gitignore in engines.Steven Anderson2011-12-151-1/+2
| | |
* | | seed file was already tested for existence. ಠ_ಠAaron Patterson2011-12-141-1/+1
| | |
* | | dbconsole: Use the app's database_configuration instead of duplicating code.Dieter Komendera2011-12-141-1/+1
| | |
* | | 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
| | |