Commit Graph

4676 Commits

Author SHA1 Message Date
Yves Senn
b9b521306c fix broken gem method with non-String arguments. Closes #16709.
This was caused by #15327.
2014-08-27 12:30:35 +02:00
yuuji.yaginuma
8a732e0474 show stats for app/jobs 2014-08-24 21:41:58 +09:00
Abdelkader Boudih
e63a02ccfb [ActiveJob] Add hook for test_framework and test templates 2014-08-22 20:06:22 +00:00
Matthew Draper
2602a49a86 Merge pull request #16622 from matthewd/default-debug
Don't fight against ourselves for the default log level
2014-08-23 00:28:32 +09:30
Vijay Dev
0e4b217446 fix grammar [ci skip] 2014-08-22 09:45:16 +05:30
Vijay Dev
285a9f0dbe fix server names [ci skip]
Per feedback in af63e4a254 (commitcomment-7477636)
2014-08-22 09:43:45 +05:30
Matthew Draper
523e279792 Don't fight against ourselves for the default log level
If we want to always default to :debug, let's just do that.

At which point the production.rb entry can become an "uncomment to
change" instead.
2014-08-22 05:47:30 +09:30
Vijay Dev
af63e4a254 Make text consistent in help text of rails server and console commands. 2014-08-21 16:22:55 +00:00
Rafael Mendonça França
212fde6a1a Remove timestamp type from generator usage
It was soft removed at 03035d69e14032a589e9653e3145237b8a9a09be
2014-08-20 16:50:06 -03:00
slainer68
2eacdb0cbf Require ActiveJob in case a skip_xxx option is given
Change position of require active_job
2014-08-20 18:08:41 +02:00
Nick Sinenko
31c98ecc1d remove end-of-line spacing in development.rb, production.rb 2014-08-20 19:21:58 +10:00
Carlos Antonio da Silva
6e420aa99c Fix blank link on config/application.rb app template [ci skip] 2014-08-19 22:21:57 -03:00
Carlos Antonio da Silva
2f7ac9cdcc Fix setting simple values to the new config.x
Previously setting simple values to the config.x object resulted in the
following:

    config.x.super_debugger = true
    config.x.super_debugger #=> {}

Which was against the examples showed in the changelog/release notes.
2014-08-19 21:59:01 -03:00
Rafael Mendonça França
e2066818e8 Point to right sass-rails version 2014-08-19 21:58:05 -03:00
Guillermo Iguaran
35b2d3f56c Use web-console 2.0.0.beta2 on new apps 2014-08-19 19:39:29 -05:00
Rafael Mendonça França
43073b393d Revert "Improve custom configuration"
This reverts commit de4891344ccc074f6d5693f4fac6ad610584e336.

Conflicts:
	railties/lib/rails/railtie/configuration.rb

It added regression. Will be back after the beta
2014-08-19 19:41:15 -03:00
Rafael Mendonça França
299c264552 We always get the value so no need to check nil or Hash 2014-08-19 17:38:29 -03:00
Rafael Mendonça França
091645116b Use released rails-html-sanitizer 2014-08-19 16:47:26 -03:00
Rafael Mendonça França
24bb8347b6 Merge pull request #16563 from arthurnn/add_ar_raise_trans_option
Add default .raise_in_transactional_callbacks option to template
2014-08-19 16:19:36 -03:00
Rafael Mendonça França
b8ef1d8abd loofah require dependecy is not needed anymore 2014-08-19 16:15:41 -03:00
Arthur Neves
c7c2df2c63
Add default .raise_in_transactional_callbacks option to template 2014-08-19 13:56:55 -04:00
Rafael Mendonça França
de4891344c Improve custom configuration
1. Hashes can be assigned
2. We don't need a special level anymore

The method chain only works in the top level.

If users need a second level they need to assign a OrderedOptions to the
key:

    config.resque.server = ActiveSupport::OrderedOptions.new
    config.resque.server.url = "http://localhost"
    config.resque.server.port = 3000

[Rafael Mendonça França + Carlos Antonio da Silva]
2014-08-19 13:59:22 -03:00
Rafael Mendonça França
ec7a8b0649 Rack is released too 2014-08-18 16:14:01 -03:00
Rafael Mendonça França
8292cdb50e No need to point to arel and i18n master anymore 2014-08-18 15:59:03 -03:00
Jon Atack
ff39a975a7 Fix rails-html_sanitizer in Gemfile template
[skip ci]
2014-08-18 11:03:37 +02:00
Rafael Mendonça França
76883f9237 Merge pull request #16062 from sgrif/sg-required-generators
Add a `required` option to the model generator
2014-08-17 22:57:21 -03:00
Rafael Mendonça França
c78da4d5c4 Merge branch 'master' into loofah
Conflicts:
	actionpack/CHANGELOG.md
2014-08-17 22:38:22 -03:00
Rafael Mendonça França
4e49134621 Use the release gems and point application gemfile to right loofah 2014-08-17 22:34:44 -03:00
Rafael Mendonça França
eced6f8118 Merge pull request #16294 from bf4/code_tools
Update, unify, encapsulate, and fix various code tools in Rails
2014-08-17 22:12:23 -03:00
David Heinemeier Hansson
5d2de5c3b8 Merge branch 'master' of github.com:rails/rails 2014-08-17 16:54:26 -07:00
David Heinemeier Hansson
49c9f850fa Merge pull request #16485 from seuros/activejob
Integrate ActiveJob / DeliverLater / GlobalID with Rails
2014-08-17 16:44:30 -07:00
David Heinemeier Hansson
c20c86ee9e Dont encourage people to run without autoflush in production 2014-08-17 16:40:41 -07:00
Genadi Samokovarov
07ca1d3ab6 Lock web-console to 2.0.0.beta1 for the first 4.2 beta
The console on exception code isn't available on the stable releases
yet. Lock it for now, so the beta users get a sneak peak of the console
features.
2014-08-18 02:03:58 +03:00
Godfrey Chan
beff925c32 Merge pull request #16467 from strzalek/cookies-digest-config-option2
Cookies digest config option (pt. 2)

Conflicts:
	actionpack/CHANGELOG.md
	actionpack/lib/action_dispatch/middleware/cookies.rb
2014-08-17 11:23:14 -07:00
Kasper Timm Hansen
1e2ffe7ae6 Prepare for partial release.
- Default to Rails::DeprecatedSanitizer in ActionView::Helpers::SanitizeHelper.
- Add upgrade notes.
- Add sanitizer to new applications Gemfiles.
- Remove 'rails-dom-testing' as a dependency.
2014-08-17 19:25:47 +02:00
Cristian Bica
b2cabb7ace Added docs for AJ::Callbacks; Added AJ to docs build map 2014-08-16 01:31:39 +03:00
Akira Matsuda
2cc1a64579 s/Dont'/Don't/ 2014-08-15 13:59:05 +09:00
Łukasz Strzałkowski
29be3f5d83 Add config option for cookies digest
You can now configure custom digest for cookies in the same way as `serializer`:

  config.action_dispatch.cookies_digest = 'SHA256'
2014-08-12 21:57:51 +02:00
Abdelkader Boudih
0c232779ec Remove activejob integration tests 2014-08-12 10:07:21 +00:00
Santiago Pastorino
d70ba48c4d Revert "Merge pull request #16434 from strzalek/cookies-digest-config-option"
This reverts commit 705977620539e2be6548027042f33175ebdc2505, reversing
changes made to dde91e9bf5ab246f0f684b40288b272f4ba9a699.

IT BROKE THE BUILD!!!
2014-08-08 18:20:33 -03:00
Santiago Pastorino
7059776205 Merge pull request #16434 from strzalek/cookies-digest-config-option
Add digest config option for SignedCookiesJar
2014-08-08 18:05:53 -03:00
Łukasz Strzałkowski
629f4e007c Return preconfigured AS::MessageVerifier 2014-08-08 21:24:02 +02:00
Łukasz Strzałkowski
cfbedd3479 Add config option for cookies digest
You can now configure custom digest for cookies in the same way as `serializer`:

config.action_dispatch.cookies_digest = \SHA256'
2014-08-08 21:20:27 +02:00
Aaron Patterson
dde91e9bf5 save a hash allocation per request. 2014-08-08 11:41:54 -07:00
Arun Agrawal
301b5fd522 Fixes test for Gemfile entry changes
Broken by fbe38c9e9d4fe9f82518e8ffc1d757459b0c5f1c
2014-08-08 19:50:25 +02:00
Sean Griffin
fdfc0fc6c9 Add a required option to the model generator
Syntax was chosen to follow the passing of multiple options to
decimal/numeric types. Curly braces, and allowing any of `,`, `.`, or
`-` to be used as a separator to avoid the need for shell quoting. (I'm
intending to expand this to all columns, but that's another PR.

The `required` option will cause 2 things to change. `required: true`
will be added to the association. `null: false` will be added to the
column in the migration.
2014-08-08 10:29:27 -06:00
David Heinemeier Hansson
fbe38c9e9d Pull spring gem entry into the Gemfile template instead of gemfile_entries so it can be grouped with the other development tools 2014-08-07 16:34:27 -07:00
David Heinemeier Hansson
089661b69a Merge branch 'master' of github.com:rails/rails 2014-08-07 16:10:20 -07:00
David Heinemeier Hansson
cc1de71bfa Stop using padding in the generated Gemfile -- it looks shit 2014-08-07 16:10:14 -07:00
Aaron Patterson
8121eefc22 add a new constructor that runs load hooks 2014-08-07 15:50:46 -07:00