aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* strip whitespace errors from the generated GemfileAaron Patterson2011-12-122-1/+11
|
* Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365Piotrek Okoński2011-12-122-1/+11
|
* 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
|
* update command line guide: generated README is now an rdocVijay Dev2011-12-111-3/+3
|
* Merge pull request #3936 from ↵Yehuda Katz2011-12-113-0/+13
|\ | | | | | | | | 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-113-0/+13
| |
* | revising docVijay Dev2011-12-111-3/+1
|/
* Ensure that files that compile to js/css are not compiled by default with ↵Piotr Sarnacki2011-12-111-2/+8
| | | | | | | | `rake assets:precompile` This case was not tested and documentation was a bit confusing on that topic, so it was not obvious if current code works properly or not.
* Clarify the default assets.precompile matcher behaviorPiotr Sarnacki2011-12-111-2/+2
|
* Merge pull request #3925 from guilleiguaran/extra-test-for-therubyrhinoYehuda Katz2011-12-091-1/+5
|\ | | | | Add test to verify that therubyrhino isn't included when JRuby isn't used
| * Add test to verify that therubyrhino isn't included when JRuby isn't usedGuillermo Iguaran2011-12-091-1/+5
| |
* | Skip assets groups if --skip-sprockets option is givenGuillermo Iguaran2011-12-092-0/+6
|/
* revises some stuff that was out of sync with the recent generated README.rdocXavier Noria2011-12-102-1/+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-092-4/+4
|
* Fix indentationPiotr Sarnacki2011-12-091-67/+67
|
* Allow to run migrations with given scope, with SCOPE=<scope>Piotr Sarnacki2011-12-091-0/+24
| | | | | | | | | | | Scope in migrations can be defined by adding suffix in filename, like: 01_a_migration.blog.rb. Such migration have blog scope. Scope is automatically added while copying migrations from engine, so if you want to revert all of the migrations from given engine, you can just run db:migrate with SCOPE, like: rake db:migrate SCOPE=blog
* Add suffix for migrations copied from enginesPiotr Sarnacki2011-12-091-6/+6
|
* Fix railties tests, identical migrations are not considered when copyingPiotr Sarnacki2011-12-091-0/+2
|
* fix nodocsVijay Dev2011-12-091-1/+1
|
* add haml and slim to the list of extensions supported by rake notesVijay Dev2011-12-091-1/+1
|
* Merge pull request #3908 from kennyj/should_use_default_charsetJosé Valim2011-12-081-2/+3
|\ | | | | Fix a failure in railties on ruby 1.8.x
| * Fix testcase an error on ruby 1.8.x.kennyj2011-12-091-2/+3
| | | | | | | | | | | | In Ruby 1.8.x, config.encoding sets $KCODE. Therefore, the possible values are UTF8, SJIS, or EUC. And, if we set SJIS, we'll has the error. Because some rails sources are written in utf-8 encoding.
* | Merge pull request #3888 from kennyj/should_use_default_charsetJosé Valim2011-12-081-0/+6
|\| | | | | Assign config.encoding to AD::Response.default_charset at the initialization time.
| * Assign config.encoding to AD::Response.default_charset at the initialization ↵kennyj2011-12-071-0/+6
| | | | | | | | time.
* | Moves migrations tests from railties/test/application/rake_test.rb to ↵Kazimierz Kiełkowicz2011-12-072-68/+85
| | | | | | | | railties/test/application/rake/migrations_test.rb
* | Move rake notes test to railties/test/application/rake/notes_test.rbKazimierz Kiełkowicz2011-12-072-42/+45
| |
* | Update source_annotation_extractor comment.Kazimierz Kiełkowicz2011-12-071-1/+1
| |
* | Add annotation to haml and slim template.Kazimierz Kiełkowicz2011-12-072-0/+46
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-12-065-13/+17
|\ \ | |/ |/|
| * use textile syntax in linksVijay Dev2011-12-061-1/+1
| |
| * rxml and rhtml are no longer searched for source code annotationsVijay Dev2011-12-061-1/+1
| |
| * copy edits in layouts guide, change links to be relativeVijay Dev2011-12-061-6/+6
| |
| * Added git --rebase option for pulling rails masterThomas von Deyen2011-12-061-1/+1
| |
| * Added wiki link to RESTsandeepravi2011-12-061-1/+1
| |
| * Added wiki link for RESTsandeepravi2011-12-061-1/+1
| |
| * Merge branch 'master' of github.com:lifo/docrailsSergey Parizhskiy2011-12-051-1/+1
| |\
| | * Remove redundant orJason Noble2011-12-051-1/+1
| | |
| * | changes in the way of how the stylesheets_link_tag worksSergey Parizhskiy2011-12-051-5/+9
| |/
* / Remove .rxml, .rjs and .rhtml from source annotation regexp.Uģis Ozols2011-12-051-5/+5
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-12-042-158/+422
|\
| * copy edits in the migrations guideVijay Dev2011-12-041-48/+46
| |
| * Be explicit about where to add/remove stuff to the migrationJason Noble2011-12-031-1/+2
| |
| * Fix missing /ruby blockJason Noble2011-12-031-0/+1
| |
| * Be explicit of where the constraints are.Jason Noble2011-12-031-1/+1
| |
| * Improve readabilityJason Noble2011-12-031-4/+5
| |
| * Be more friendly than "shut up"Jason Noble2011-12-031-1/+1
| |