Commit Graph

50011 Commits

Author SHA1 Message Date
Darío Hereñú 4826ec9039 Minor fixes (proposal) 2015-02-28 22:19:23 -03:00
Aaron Patterson 92849df732 drop allocations when handling model url generation 2015-02-28 16:00:27 -08:00
Yves Senn daa455f5ca Merge pull request #19131 from tgxworld/reduce_allocated_memory_in_module_delegate
Reduce allocated memory for Module#delegate.
2015-02-28 19:26:36 +01:00
Rafael Mendonça França cd545d2399 Merge pull request #19132 from davydovanton/pdate-doc-module-anonymous
[ci skip] Add code examples for Module#anonymous? documentation
2015-02-28 15:01:05 -03:00
Anton Davydov 92dce324b9 [ci skip] Add code examples for Module#anonymous? documentation 2015-02-28 20:58:23 +03:00
Guo Xiang Tan 1bc27a7e61 Reduce allocated memory for Module#delegate. 2015-03-01 01:31:48 +08:00
Yves Senn 9b4d8b8fbe Merge pull request #19130 from yui-knk/fix/active_support_core_extensions2
[ci skip] Fix to comment
2015-02-28 18:30:35 +01:00
Yves Senn 811cc87d71 Merge pull request #19129 from yui-knk/fix/active_support_core_extensions
[ci skip] Fix to String
2015-02-28 18:29:25 +01:00
yui-knk c9f0f84d7c [ci skip] Fix to comment 2015-03-01 02:04:27 +09:00
Kasper Timm Hansen 1db5ecf1e7 Merge pull request #19128 from davydovanton/update-doc-range-to-s
[ci skip] Update documentation for Range#to_formatted_s
2015-02-28 17:42:36 +01:00
yui-knk 0a3afe236b [ci skip] Fix to String 2015-03-01 01:40:02 +09:00
Anton Davydov 032d279268 [ci skip] Update documentation for Range#to_formatted_s 2015-02-28 19:38:41 +03:00
Eileen M. Uchitelle 58aecb0f7e Merge pull request #18965 from hjoo/rake_restart
created rake restart task
2015-02-28 11:34:14 -05:00
Yves Senn c93f808ea5 Merge pull request #19125 from y-yagi/testing_guide
add `ActiveJob::TestCase` to list of classes providing for test [ci skip]
2015-02-28 16:38:14 +01:00
yuuji.yaginuma 4b0f0bc37e add `ActiveJob::TestCase` to list of classes providing for test [ci skip] 2015-02-28 23:31:11 +09:00
Guillermo Iguaran 433d439b79 Merge pull request #19123 from yui-knk/fix/active_support_instrumentation2
[ci skip] Remove `,`
2015-02-28 09:28:17 -05:00
Guillermo Iguaran c4551a5bbb Merge pull request #19124 from davydovanton/add-doc-for-is-utf8
[skip ci] Add documentation for String#is_utf8? method
2015-02-28 09:10:53 -05:00
Akira Matsuda 8af9e1b214 Spell PostgreSQL correctly 🐘
[ci skip]
2015-02-28 23:01:08 +09:00
Anton Davydov dde6ee9e9b [skip ci] Add documentation for String#is_utf8? method 2015-02-28 16:28:54 +03:00
yui-knk 52cae7d558 [ci skip] Remove `,` 2015-02-28 22:08:55 +09:00
Abdelkader Boudih 35ae975beb Merge pull request #19122 from yui-knk/fix/active_support_instrumentation
[ci skip] Replace `ActiveResource` with `Active Resource`
2015-02-28 13:08:06 +00:00
yui-knk b008bfddbd [ci skip] Replace `ActiveResource` with `Active Resource` 2015-02-28 22:02:13 +09:00
Yves Senn b58dac811b Merge pull request #19121 from davydovanton/update-doc-for-remove
Update documentation examples for String#remove [skip ci]
2015-02-28 12:18:41 +01:00
Anton Davydov 8005ad3233 Update documentation examples for String#remove [skip ci] 2015-02-28 13:41:52 +03:00
Abdelkader Boudih 0e2815a3f3 Merge pull request #19120 from yui-knk/fix/md_table
[ci skip] Fix table of 4_1_release_notes.md
2015-02-28 10:36:29 +00:00
yui-knk d495592541 [ci skip] Fix table of 4_1_release_notes.md 2015-02-28 18:24:15 +09:00
Kasper Timm Hansen 3458873642 Merge pull request #19114 from richardvenneman/i18n-guide-update
Remove reference to workingwithrails.com since it is being retired
2015-02-27 22:30:37 +01:00
Richard Venneman 29165739d9 Remove reference to workingwithrails.com since it is being retired 2015-02-27 22:18:53 +01:00
Arthur Neves 4e757746a6 Add changelog for #15549 fix [skip ci] 2015-02-27 16:05:28 -05:00
Rafael Mendonça França 4a049583a2 Merge pull request #19113 from vipulnsward/remove-requires
Removed non-standard and unused require 'active_support/deprecation'
2015-02-27 15:07:00 -03:00
Rafael Mendonça França 75aa573c8b Don't recommend to precompile all assets
It is very slow since it will precompile even plugins.

Also it is very unlikely that any application will use this patterns
since it is not a good practice to include all assets manually in the
page.

[ci skip]
2015-02-27 14:56:08 -03:00
Vipul A M cdaab2c479 Removed non-standard and unused require 'active_support/deprecation' from parts out of active_support. 2015-02-27 23:20:09 +05:30
Xavier Noria 6889be526c Merge pull request #19111 from icem/patch-1
Guides mistake about page caching.
2015-02-27 17:26:43 +01:00
Yury Otcheski 8526921d29 Guides mistake about page caching.
DHH's key-based cache expiration isn't alternative to page caching. It's true about action caching but not page caching. I propose to remove this line as confusing, page caching is still best if applicable.
[ci skip]
2015-02-27 18:36:28 +03:00
Rafael Mendonça França 85c49f5a64 Merge pull request #19102 from ulissesalmeida/fix-regression-default-translation
Fix regression when passing a value different of String.
2015-02-27 11:49:34 -03:00
Rafael Mendonça França f3ae917be4 Merge pull request #19110 from aditya-kapoor/fix-val-doc
[ci-skip] correct doc about custom validators
2015-02-27 11:17:44 -03:00
Aditya Kapoor 98d1ea7411 [ci-skip] correct doc about custom validators 2015-02-27 19:25:25 +05:30
Carlos Antonio da Silva 242632167c Merge pull request #19104 from y-yagi/fix_skip_filter
fix NameError in `skip_filter`. callback doesn't exist.
2015-02-27 07:27:42 -03:00
Abdelkader Boudih 75ddb54eb0 Merge pull request #19107 from prathamesh-sonpatki/template-inheritance
Fix wording in template inheritance section of layout guide [ci skip]
2015-02-27 05:28:08 +00:00
Prathamesh Sonpatki 7019b19615 Fix wording in template inheritance section of layout guide [ci skip] 2015-02-27 10:55:10 +05:30
Jeremy Kemper 7142059883 Revert integration test refactoring that caused app test regressions
Haven't diagnosed yet. No similarly failing tests in Rails to work from.

cc @tenderlove, @eileencodes

Revert "there is always an integration session, so remove the check"
Revert "lazily create the integration session"
Revert "use before_setup to set up test instance variables"

This reverts commits 4cf3b8ac47, 303567e554, and fa63448420.
2015-02-26 18:03:40 -07:00
Jeremy Kemper a13e52b422 Revert "Merge pull request #18764 from tsun1215/master"
This reverts commit b6dd0c4dde, reversing
changes made to de9a3748c4.
2015-02-26 17:04:08 -07:00
yuuji.yaginuma 0eec7d2c96 fix NameError in `skip_filter`. callback doesn't exist. 2015-02-27 09:03:31 +09:00
Ulisses Almeida 362557eb41 Fix regression when passing a value different of String.
The previous version of rails(4.2.0) you can pass objects
to the default option of translation helper.

For example:

```ruby
  t('foo', default: 1)
```

But on rails 4.2.1 version this kind of use stopped to work,
because started only to accept String types.

Now with this fix we can use orther value types on this
helper again.
2015-02-26 19:04:00 -03:00
Hyonjee Joo b181297ad7 Created rake restart task.
Fixes #18876. Rake restart touches `tmp/restart.txt` to restart
application on next request. Updated tests and documentation
accordingly.
2015-02-26 15:26:59 -05:00
Sean Griffin 38218929e9 Properly create through records when called with `where`
Various behaviors needed by associations (such as creating the through
record) are lost when `where` is called, since we stop having a
`CollectionProxy` and start having an `AssociationRelation` which does
not contain this behavior. I *think* we should be able to rm
`AssociationRelation`, but we have tests saying the changes required to
do that would be bad (Without saying why. Of course. >_>)

Fixes #19073.
2015-02-26 12:42:55 -07:00
Richard Schneeman f069b41321 Merge pull request #18434 from brainopia/change_filter_on_rails_info_routes
Change filter on /rails/info/routes to use an actual path regexp from rails
2015-02-26 12:59:43 -06:00
Rafael Mendonça França 28778de2e0 Merge pull request #19095 from waseem/rails_runner_ruby_file
Section explaining how rails runner accepts code in a ruby file.
2015-02-26 14:37:12 -03:00
Kasper Timm Hansen 0b32beadf5 [ci skip] Add changelog entry for #18948. 2015-02-26 17:23:22 +01:00
Waseem Ahmad c2c844e600 Section explaining how rails runner accepts code in a ruby file.
[ci skip]
2015-02-26 21:39:49 +05:30