Commit Graph

138 Commits

Author SHA1 Message Date
Prathamesh Sonpatki
f8a3dda6ce Fxied some typos 2013-05-18 19:23:30 +05:30
Rafael Mendonça França
d093f8437a Review the CHANGELOG entry [ci skip] 2013-05-04 10:53:53 -03:00
Arun Agrawal
f1805a6978 Fixes Scaffold generator with --assets=false
Scaffold generator with --assets=false option 
outputs an error

See #9525
2013-05-04 15:48:44 +02:00
wangjohn
81b7416afa Removing Railtie::Configurable from the base Railtie object and making
Railtie itself abstract. This stops the weird behavior of forcing
subclasses of Railtie to include the Configurable module.
2013-04-29 13:06:29 -04:00
Rafael Mendonça França
feb44b9213 rails/master is now 4.1.0.beta 2013-04-29 13:15:24 -03:00
Yves Senn
c245437de7 use unified and clean formatting in CHANGELOGS. [ci skip] 2013-04-12 15:52:43 +02:00
Aaron Patterson
c7a148f389 removing rails test, updating docs to show how to use rake test 2013-04-05 15:44:41 -07:00
Steve Klabnik
fc11375584 CHANGELOG entry for rails.png removal. 2013-04-02 17:37:37 -07:00
Rafael Mendonça França
3073c3d3ae ✂️
[ci skip]
2013-04-01 16:56:20 -03:00
Rafael Mendonça França
38bda383ee Remove CHANGELOG entry for #10002
[ci skip]
2013-04-01 16:34:30 -03:00
Rafael Mendonça França
ec55f37027 Merge pull request #9991 from Passionate/patch-1
improve readability
2013-03-30 10:03:24 -07:00
Xavier Noria
2cc934a03d registers the new doc:rails behaviour in the changelog 2013-03-30 00:10:52 +01:00
Paritosh Piplewar
737f618f38 improve readability 2013-03-29 05:29:08 +05:30
Gabe Kopley
940da7d9cb Put coffee-rails in top-level of generated Gemfile
v3 of pull request based on additional feedback from @jeremy
2013-03-24 22:31:48 -07:00
Charlie Somerville
8f05fee1ff add changelog entry 2013-03-24 12:43:31 +11:00
Kevin Glowacz
2e5f49dcbf Don't generate a scaffold.css if no-assets 2013-03-20 15:24:45 -05:00
Steve Klabnik
1a9055073d Revert "make new rails apps log to STDOUT"
This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451.

Per discussion with @jeremy and @rubys on Campfire.
2013-03-15 10:38:00 -07:00
Terence Lee
b7d9d6e2cd make new rails apps log to STDOUT 2013-03-15 10:05:10 -07:00
Sam Ruby
3008994d1e Add support for generate scaffold password:digest
* adds password_digest attribute to the migration
* adds has_secure_password to the model
* adds password and password_confirmation password_fields to _form.html
* omits password entirely from index.html and show.html
* adds password and password_confirmation to the controller
* adds unencrypted password and password_confirmation to the controller test
* adds encrypted password_digest to the fixture
2013-03-13 16:06:33 -04:00
Carlos Antonio da Silva
cd9f7508df Move some railties changelog entries to the top [ci skip] 2013-03-13 14:03:14 -03:00
Dalibor Nasevic
df85dfa6fa Improve wording for rails test command 2013-03-09 16:03:55 -05:00
Prem Sichanugrist
1a0c58b298 Load fixtures only when running suites, or -f
* `rails test -f` will run the test suites with all fixtures loaded
* New application will now generated without `fixtures :all` line
  enabled by default.
2013-03-09 16:03:55 -05:00
Prem Sichanugrist and Chris Toomey
b4df25366a Add rails test command to run the test suite
To run the whole test suite:

    $ rails test

To run the test file(s):

    $ rails test test/unit/foo_test.rb [test/unit/bar_test.rb ...]

To run the test suite

    $ rails test [models,helpers,units,controllers,mailers,...]

For more information, see `rails test --help`.

This command will eventually replacing `rake test:*`, and `rake test`
command will actually invoking `rails test` instead.
2013-03-09 16:03:54 -05:00
Yves Senn
a58e660837 Use "Fixes" in place of "Fix" in changelogs for consistency [ci skip]. 2013-03-09 20:57:17 +01:00
Stanislav
40f1642b67 New beauty pages(404, 422, 500)
moving changelog note to unreleased section

New beauty pages(404, 422, 500)
2013-03-02 00:24:54 +06:00
Rafael Mendonça França
0f75e2c51f Update CHANGELOGS 2013-02-26 13:45:57 -03:00
David Heinemeier Hansson
c0bc9ce38c Preparing for 4.0.0.beta1 release 2013-02-25 08:31:50 -06:00
Hendy Tanata
82e345dd7a Improve rake stats for JavaScript and CoffeeScript.
Ignore block comments and calculates number of functions.
2013-02-25 21:08:11 +08:00
Prem Sichanugrist
2da5ea1c9f Remove --builder option from rails command
Ability to use a custom builder by passing `--builder` (or `-b`) has
been removed. Consider using application template instead. See this
guide for more detail:
http://guides.rubyonrails.org/rails_application_templates.html
2013-02-24 14:31:08 -05:00
Yves Senn
6bd1cae459 Revert "move config.assets.precompile into config/application.rb"
This reverts commit 304f4d4c25ccabdbf97d37dd7a92a54d0b63a9c9.

As it turns out everything should behave as it did and we don't
need to move this configuration option.
2013-02-24 18:01:43 +01:00
Rafael Mendonça França
b85f63bbd0 Merge pull request #9341 from senny/move_precompiled_asset_config_to_application
move config.assets.precompile into config/application.rb
2013-02-20 08:18:08 -08:00
Yves Senn
304f4d4c25 move config.assets.precompile into config/application.rb 2013-02-20 15:53:37 +01:00
Terence Lee
b1de1892bc update changelog 2013-02-21 01:25:05 +11:00
Andrew White
9d9b22f47a Revert "Deprecate the eager_load_paths configuration"
Because of the possibility of lib being unintentionally eager loaded
it's been agreed that we'll leave autoload paths and eager load paths
separate for Rails 4.0.

This reverts commit 0757b3388ffe4f44b60de950d40e18ef05055931.

Conflicts:
	railties/CHANGELOG.md
2013-02-19 07:22:37 +00:00
Carlos Antonio da Silva
7765ee0e47 Add changelog entry for #9177 [ci skip]
Add test:all and test:all:db rake tests to speed up full test runs.
2013-02-11 11:25:13 -02:00
Rahul P. Chaudhari
afdb84a1fe Added notice message for destroy method in scaffold 2013-02-10 01:19:02 +05:30
Amparo Luna
5f1dc8e3b7 Add --rc option to support the load of a custom rc file 2013-02-01 23:17:41 -05:00
Amparo Luna
a1e1af9b21 Add --no-rc option to skip the loading of railsrc file 2013-01-31 19:30:47 -05:00
Rafael Mendonça França
9826823e66 Merge pull request #8303 from jeremywrowe/master
Fixes improper database name when creating a new rails app with a '.'

Conflicts:
	railties/CHANGELOG.md
2013-01-25 10:21:48 -02:00
Andrew White
0757b3388f Deprecate the eager_load_paths configuration
Since the default in Rails 4.0 is to run in 'threadsafe' mode we need
to eager load all of the paths in `autoload_paths` so we alias
`eager_load_paths` to it. This may have unintended consequences if
you have added 'lib' to `autoload_paths` such as loading unneeded
code or code intended only for development and/or test environments.
If this applies to your application you should thoroughly check what
is being eager loaded.
2013-01-24 23:54:41 +00:00
Rafael Mendonça França
19bd2f2279 Merge pull request #8557 from timraymond/add_back_engines_and_deprecate
Adding Back Rails::Engine::Railties#engines

Conflicts:
	railties/CHANGELOG.md
2013-01-22 00:00:20 -02:00
Matt Bridges
08ac4b9672 clear specific logs when using rake log:clear 2013-01-16 17:12:32 -06:00
Jeremy W. Rowe
c45980fe6e Fixes improper database name when a '.' is included while creating a new rails
application. EG: `rails new something.awesome.com`
Conflicts:
	railties/CHANGELOG.md
2013-01-16 15:12:31 -06:00
Brian D. Burns
5a9b3b7a74 allow :dirs option for .enumerate
Allows custom rake tasks to be defined using:

  SourceAnnotationExtractor.enumerate 'TODO|FIXME', dirs: %w(app lib), tag: true
2013-01-15 14:14:05 -05:00
Carlos Antonio da Silva
2549a3b088 Deprecate Rails::Generators::ActiveModel#update_attributes
Deprecate #update_attributes in favor of `#update`.

ORMs that implement `Generators::ActiveModel#update_attributes` should change
to `#update`. Scaffold controller generators should change calls like:

    @orm_instance.update_attributes(...)

to:

    @orm_instance.update(...)

This goes along with the addition of `ActiveRecord::Base#update`,
introduced in cb2bd4aa619d9329c42aaf6d9f8eacc616ce53f4.
2013-01-12 10:52:13 -02:00
Carlos Antonio da Silva
39a88f6f0e Add changelog entry for scaffold generator and jbuilder changes
Introduced in 3bfd99defb559af0b017ee920ca714aa1e367fdd.
Related to #8840.

[ci skip]
2013-01-11 09:27:48 -02:00
Xavier Noria
6cf47c533d new README generated for new apps 2013-01-08 00:50:56 +01:00
Xavier Noria
553b6958dc doc/README_FOR_APP is no longer generated 2013-01-08 00:50:56 +01:00
Jeremy Kemper
2c9d129fb4 Take the heat 🔥 2013-01-06 21:53:30 -07:00
Jeremy Kemper
009873aec8 Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn' 2013-01-06 21:41:36 -07:00