Commit Graph

24109 Commits

Author SHA1 Message Date
Gabriel Horner
6e3c0a5d9a simplify and be more explicit about create and after_initialize tests 2011-07-24 00:31:37 -04:00
Les Fletcher
f956759f8a fix after_initialize edge case (close #2074 and close #2175)
fix behavior when after_initialize is defined and a block is passed to Base.create
2011-07-24 00:31:28 -04:00
Aaron Patterson
d33eb07543 Merge pull request #2233 from gramos/fix-issue-1951-master
Fix issue 1951 master Namespaced model partial_path is wrong in namespaced controllers
2011-07-23 21:00:11 -07:00
Aaron Patterson
d89a33d162 just use normal ruby for stubbing 2011-07-23 20:55:29 -07:00
Gaston Ramos
dc1b0fd957 - added ActionView::PartialRenderer#merge_path_into_partial(path, partial)
fix issues/1951
2011-07-24 00:54:58 -03:00
Gaston Ramos
7621d131d2 - added test case for issue:
https://github.com/rails/rails/issues/1951
  Namespaced model partial_path is wrong in namespaced controllers
2011-07-24 00:54:45 -03:00
Aaron Patterson
a14f4566dd Merge pull request #2185 from castlerock/lazy_load_abstract_adapter
lazy load ConnectionAdapters remove require.
2011-07-23 20:51:43 -07:00
Aaron Patterson
9327b4de58 Merge pull request #2228 from Empact/helper_tags_in_mailers
Simple fix to the NoMethodError noted in #2177.
2011-07-23 20:40:12 -07:00
Aaron Patterson
cdc4274931 simplify singleton_class? method 2011-07-23 20:02:03 -07:00
Aaron Patterson
06c52d6ac9 Merge pull request #2226 from dmathieu/perform_caching
rake assets:precompile should always perform caching - Closes #2199
2011-07-23 17:50:43 -07:00
Ben Woosley
1f89898175 Simple fix to the NoMethodError noted in #2177.
Unfortunately #respond_to?(:controller) won't work as suggested, nor will respond_to?(:params), as #controller is present and #params is delegated to #controller. #delegate makes respond_to? return true regardless whether the target responds to it.
2011-07-23 17:31:48 -07:00
Damien Mathieu
bb3b3e3062 rake assets:precompile should always perform caching - Closes #2199 2011-07-24 01:32:14 +02:00
Santiago Pastorino
410e75419d Remove unused gems from Gemfile 2011-07-23 18:38:42 -03:00
Santiago Pastorino
e178fcbd01 Merge pull request #2221 from grzuy/master
Fix ActiveSupport::Cache::FileStore#file_path_key does not work if initialized with Pathname
2011-07-23 14:05:15 -07:00
Gonzalo Rodriguez
49b0f9e395 Fix ActiveSupport::Cache::FileStore#file_path_key does not work if initialized with Pathname
Port from 3-1-stable
2011-07-23 17:57:04 -03:00
Aaron Patterson
c3346b31c9 Merge pull request #2218 from guilleiguaran/avoid-map-chaining
Remove unneccesary map chaining
2011-07-23 13:24:24 -07:00
Guillermo Iguaran
3fe32c3554 Remove unneccesary map chaining 2011-07-23 15:21:39 -05:00
Aaron Patterson
abe61054af Merge pull request #2217 from marcandre/fix_enumerable
Fix enumerable
2011-07-23 13:05:12 -07:00
Marc-Andre Lafortune
f061ffd9f4 Trivial optimization for Enumerable#each_with_object 2011-07-23 15:52:38 -04:00
Marc-Andre Lafortune
816abecf90 Insure that Enumerable#index_by, group_by, ... return Enumerators 2011-07-23 15:52:37 -04:00
Marc-Andre Lafortune
c785038839 Make Enumerable#many? iterate only over what is necessary 2011-07-23 15:52:37 -04:00
Marc-Andre Lafortune
a96e824c53 Make Enumerable#many? not rely on #size 2011-07-23 15:52:37 -04:00
Marc-Andre Lafortune
f6ac022a6f Test using generic Enumerables instead of arrays. 2011-07-23 15:52:37 -04:00
Marc-Andre Lafortune
0b5386f422 Make tests more precise 2011-07-23 15:52:37 -04:00
Xavier Noria
2115068476 registers the recent change to date multiparameter handling in the CHANGELOG 2011-07-23 20:31:41 +02:00
Xavier Noria
a62f450661 Merge pull request #2086 from amatsuda/date_multiparameter_nil
convert multiple Date parameters into a nil if any of its bits were blank
2011-07-23 11:20:12 -07:00
Santiago Pastorino
35c87a139a Merge pull request #2198 from Karunakar/fixing_2168
Improve rails:template undefined LOCATION variable error message fixed
2011-07-23 08:26:16 -07:00
Raghunadh
e9f16256ba Improve rails:template undefined LOCATION variable error message fixed 2011-07-23 20:52:53 +05:30
Santiago Pastorino
7dadb6aa0a Merge pull request #2171 from arunagw/database-rake-1.9.2
This conditions is required to work with database create task. 1.9.2 is h
2011-07-23 07:58:59 -07:00
Santiago Pastorino
25ec3c86e0 Merge pull request #2193 from zhengjia/remove_ruby_prof_for_rubinius
only install ruby-prof for mri ruby
2011-07-23 07:12:51 -07:00
Santiago Pastorino
7e4cedf534 Merge pull request #2196 from arunagw/issue_713
Spliting the ouput of git ls-files for running tasks Fixes #713
2011-07-23 07:06:14 -07:00
Santiago Pastorino
fb36f3d1e4 Merge pull request #2195 from castlerock/command_line_information
Small missing information added to command description. --help also works
2011-07-23 07:04:00 -07:00
Xavier Noria
d352e0dff2 checked all .rb files in the project tree for missing magic comments, one was missing
Came with this one-liner for this:

    find . -name '*.rb' | \
    xargs chardet | \
    grep -v ascii | \
    cut -d: -f1 -s | \
    xargs -n1 ruby -0777 -ne 'puts $FILENAME if $_ !~ /#.*coding:\s*utf/i'

Welcome $_.
2011-07-23 14:50:29 +02:00
Xavier Noria
4d8aaff4ea adds a couple of missing magic comments [fixes #1374] 2011-07-23 14:15:00 +02:00
Xavier Noria
c300e13a9c Revert "notextile tag has been placed with ascii quotes"
Reason: <notextile> is an internal tag

This reverts commit 01040b5dc990e79052627451603feea0f149fe41.
2011-07-23 12:51:02 +02:00
Xavier Noria
ace3723d2f Merge branch 'master' of git://github.com/lifo/docrails 2011-07-23 12:15:41 +02:00
Xavier Noria
38310ab1a6 little details seen while doing a pass through what's new in docrails 2011-07-23 12:14:10 +02:00
Arun Agrawal
0fb0973248 For svn files also spilt required 2011-07-23 13:58:23 +05:30
Arun Agrawal
7d9cf9a846 Spliting the ouput of git ls-files for running tasks Fixes #713 2011-07-23 13:21:36 +05:30
Bratish Goswami
611fd7955a Small missing information added to command description. --help also works like -h. 2011-07-23 10:41:49 +05:30
Vijay Dev
2db9a7e930 minor refactor in the template guide 2011-07-23 02:21:05 +05:30
Vijay Dev
573c6e6982 document the change in edge rails which makes a more strict check on the arity of the dynamic finders 2011-07-23 01:59:46 +05:30
Vijay Dev
ccb3af4683 corrected sentences to make them consistent in command line guide 2011-07-23 01:19:24 +05:30
Vijay Dev
14b9726ecd minor corrections in caching guide 2011-07-23 01:18:37 +05:30
Xavier Noria
94978b9a46 Merge pull request #2188 from vijaydev/patch-6
Fixes typo
2011-07-22 10:06:35 -07:00
Aaron Patterson
253b472838 forgot to add this test case 2011-07-22 09:12:32 -07:00
Vijay Dev
a2778861fe Fixes typo 2011-07-22 08:41:00 -07:00
zhengjia
74eb8486da remove ruby-prof for rubinius in Gemfile 2011-07-22 07:55:48 -05:00
Vishnu Atrai
1efd88283e lazy load ConnectionAdapters remove require. 2011-07-22 17:49:24 +05:30
Aaron Patterson
5b6121aa34 use rake tasks to set the default environment variables. fixes #2126 2011-07-21 15:30:28 -07:00