aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add convenience method to hide a generator from the available onesCarlos Antonio da Silva2012-02-031-0/+6
| | | | | | It is usually useful to be able to hide a generator when running rails generate command. Such generators might be used only to dry up generators code and shouldn't be available to end users.
* Use https://rubygems.org source for default GemfileGuillermo Iguaran2012-02-011-1/+1
| | | | See https://github.com/rails/rails/pull/4684#commitcomment-920313
* Merge pull request #4825 from sikachu/master-fix-plugin-newJosé Valim2012-02-011-1/+1
|\ | | | | Fix broken test introduced from #4814
| * Fix broken test introduced from #4814Prem Sichanugrist2012-02-011-1/+1
| | | | | | | | | | | | * ruby_debugger_gemfile_entry was removed from the generator. Please make sure to run `grep` or `ack` to make sure it was removed in every places.
* | Fix GH #4737. Missing helper file (LoadError) in mountable plugin.kennyj2012-02-021-1/+3
|/
* Remove ruby_debugger_gemfile_entry from app_base, we can just put ↵Guillermo Iguaran2012-02-012-5/+1
| | | | ruby-debug19 commented directly in Gemfile
* Don't run bundle install when passed with --pretend optionkennyj2012-02-011-1/+1
|
* Only add ActiveRecord configuration if it is presentRafael Mendonça França2012-01-311-1/+1
|
* Merge pull request #4727 from railsaholic/dependent_restrict_should_add_errorJon Leighton2012-01-311-0/+5
|\ | | | | has_many/has_one, :dependent => :restrict, deprecation added
| * has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-291-0/+5
| |
* | Fix failing test from [7619bcf2]Prem Sichanugrist2012-01-301-1/+1
| |
* | rewrites a couple of alternations in regexps as character classesXavier Noria2012-01-301-1/+1
| | | | | | | | | | Character classes are the specific regexp construct to express alternation of individual characters.
* | Fixes #4764 - remove generated new line in routes.rb on scaffold generationVijay Dev2012-01-311-1/+1
| | | | | | | | | | | | | | | | | | As explained in #4764, when destroying a scaffold, routes.rb loses a new line. This seems to happen because a new line is added while generating the route and the destroy generator removes it. However, this causes a problem if the routes file is manually edited to remove such new lines. This commit just removes that extra new line from added in the first place.
* | Used block to make sure file get auto closed after useRahul P. Chaudhari2012-01-301-14/+16
| |
* | remove ruby 1.8 support codeSergey Nartimov2012-01-291-6/+2
| |
* | Replaced all 'for' loops with Enumerable#eachNathan Broadbent2012-01-301-1/+1
|/
* Reverted build_original_fullpath method, as per discussion at ↵Nathan Broadbent2012-01-281-1/+9
| | | | https://github.com/rails/rails/pull/4470/files#r393461
* Remove redundant instance_variables (@colorize_logging)kennyj2012-01-271-2/+1
|
* Revert "Merge pull request #4690 from jdutil/filter_password_confirmation"José Valim2012-01-261-1/+1
| | | | | This reverts commit eafa1c429835e099897a0da90bc39d9dbbb7ed4e, reversing changes made to f251437415f7b803f7a84118fcc970a111ace266.
* Add :password_confirmation as a filtered param by default.Jeff Dutil2012-01-261-1/+1
|
* Merge pull request #4684 from rossmeissl/patch-1Xavier Noria2012-01-251-1/+1
|\ | | | | Use `:rubygems` shortcut as standard Gemfile's `source` instead of explicit URL
| * Use `:rubygems` shortcut as standard Gemfile's `source` instead of explicit ↵Andy Rossmeissl2012-01-251-1/+1
| | | | | | | | | | | | URL. Theoretically this would future-proof Gemfiles against possible (albeit unlikely) change in the rubygems URL.
* | Use content_tag_for with array by default on scaffold.José Valim2012-01-261-4/+2
|/
* use rack 1.4.1Sergey Nartimov2012-01-231-2/+0
|
* Support decimal{1,2} and decimal{1-2} and decimal{1.2} so it works fine with ↵José Valim2012-01-221-2/+2
| | | | | | | | bash, zsh, etc, closes #4602 Conflicts: railties/test/generators/migration_generator_test.rb
* Merge pull request #4592 from jviney/masterJosé Valim2012-01-211-2/+1
|\ | | | | Fix setting $rails_rake_task variable.
| * Fix `$rails_rake_task` global variable warning without replacing the value ↵Jonathan Viney2012-01-221-2/+1
| | | | | | | | | | of $rails_rake_task if it is already set. Fixes #4591.
* | uniformizes the punctuation of comments in some files generated for new appsXavier Noria2012-01-224-42/+42
|/ | | | | | Some end with a full stop, some don't. Let's have attention to detail and make them uniform. I have chosen to add full stops according to our documentation guidelines related to RDoc.
* broadcasting to the console and remove file tailing middlewareAaron Patterson2012-01-201-1/+7
|
* Merge pull request #4528 from j-manu/log-tailer-fixAaron Patterson2012-01-201-3/+7
|\ | | | | Fix for log tailer when the log file doesn't exist.
| * Fix for log tailer when the log file doesn't exist.Manu J2012-01-201-3/+7
| |
* | Merge pull request #4545 from trotter/fix-documentation-bugVijay Dev2012-01-201-1/+1
|\ \ | | | | | | Fix documentation bug in Rails::Engine
| * | Fix documentation bug in Rails::EngineTrotter Cashion2012-01-191-1/+1
| | |
* | | do not do reverse lookups on incoming requests for webrick. fixes #4542Aaron Patterson2012-01-191-0/+1
|/ /
* / refactor RAILS_CACHE deprecationSergey Nartimov2012-01-191-29/+8
|/ | | | that was introduced in 6f8159c4217dc8433a2027ced0c61e7ce94551d3
* Silent Sprockets logger when config.assets.logger is set to falseGuillermo Iguaran2012-01-171-0/+1
|
* Deprecate RAILS_CACHE constant.kennyj2012-01-183-5/+49
|
* Merge pull request #4480 from lest/use-rack-body-proxyJosé Valim2012-01-161-0/+2
|\ | | | | Use Rack::BodyProxy
| * use rack from master branchSergey Nartimov2012-01-161-0/+2
| | | | | | | | | | it's needed until new rack release with Rack::BodyProxy fixes https://github.com/rack/rack/commit/b06ef82876416fe69429f7d3ee6e51bf26aec75f
* | show stats for app/mailersAkira Matsuda2012-01-161-0/+1
|/
* fix a broken testVijay Dev2012-01-151-1/+1
| | | | | | The commit 2f632f53919d2b44dbb2cfaadabed2310319f005 extracted the options into constants and while doing so, there was a minor error of using a wrong constant name.
* Merge pull request #4469 from ↵José Valim2012-01-151-1/+1
|\ | | | | | | | | guilleiguaran/fix-skipping-assets-in-route-inspector Don't hardcode assets route skipped in route inspector
| * Don't hardcode assets route skipped in route inspectorGuillermo Iguaran2012-01-141-1/+1
| |
* | Refactored watchable_args and build_original_fullpath methods in ↵Nathan Broadbent2012-01-151-13/+2
| | | | | | | | railties/lib/rails/application.rb
* | Extract index and uniq index options to constantsCarlos Antonio da Silva2012-01-141-4/+7
|/
* config.force_ssl should mark the session as secure.José Valim2012-01-131-0/+3
|
* Add therubyracer gem commented in default GemfileGuillermo Iguaran2012-01-121-2/+14
|
* minor editsVijay Dev2012-01-132-2/+2
|
* fixes in api docsVijay Dev2012-01-132-2/+2
|
* changing self.attribute to @atrribute to follow one kind of value assignment ↵prasath2012-01-121-4/+4
| | | | through out the file