- 22 6月, 2013 3 次提交
-
-
由 Robin Dupret 提交于
Remove the mention about this command in the rails command's help message and remove the "t" alias related to it.
-
由 Jon Leighton 提交于
fix bad test by making number that fits for integer
-
由 Neeraj Singh 提交于
PR https://github.com/rails/rails/pull/10566 had to be reverted because after applying the fix test "test_raise_record_not_found_error_when_invalid_ids_are_passed" started failing. In this test invalid_id is being assigned a really large number which was causing following failure when PR #10566 was applied. ``` RangeError: bignum too big to convert into `long long' SELECT `interests`.* FROM `interests` WHERE `interests`.`man_id` = ? AND `interests`.`id` = ? LIMIT 1 [["man_id", 970345987], ["id", 2394823094892348920348523452345]] ``` This test is not failing in master because when test code `man.interests.find(invalid_id)` is executed then interests are fully loaded in memory and no database query is executed. After PR #10566 was merged then test code `man.interests.find(invalid_id)` started executing sql query and hence the error. In case someone is wondering why the second part of query is not failing, then that's because the actual query does not require any variable substituation where the number is large. In that case the sql generate is following. ``` SELECT `interests`.* FROM `interests` WHERE `interests`.`man_id` = ? AND `interests`.`id` IN (8432342, 2390102913, 2453245234523452) [["man_id", 970345987]] ```
-
- 21 6月, 2013 23 次提交
-
-
由 Guillermo Iguaran 提交于
#10428: Added tests for config.assets.precompile
-
由 Carlos Antonio da Silva 提交于
Fix documents for create_join_table [ci skip]
-
由 Carlos Antonio da Silva 提交于
Saying gemcutter => rubygems [ci skip]
-
由 Xavier Noria 提交于
fix the path of action view from actionpack/lib/action_view => actionvie...
-
由 Rajarshi Das 提交于
-
由 Arun Agrawal 提交于
-
由 Xavier Noria 提交于
Backport #11033 to master
-
由 Robin Dupret 提交于
Since docrails as moved from lifo/docrails to rails/docrails we have to ask for commit rights or submit patches directly to the rails repository
-
由 Satoshi Ebisawa 提交于
-
由 Piotr Sarnacki 提交于
Previously when app was mounted as following: class Foo def call(env) [200, {}, [env['PATH_INFO']]] end end RackMountRailsBug::Application.routes.draw do mount RackTest.new => "/foo" end trailing slash was removed from PATH_INFO. For example requesting GET /foo/bar/ on routes defined above would result in a response containing "/foo/bar" instead of "/foo/bar/". This commit fixes the issue. (closes #3215)
-
由 Piotr Sarnacki 提交于
`inspect` for AR model classes does not initiate a new connection.
-
由 Piotr Sarnacki 提交于
Fix BacktraceSilencer#noise when multiple silencers are configured
-
由 Piotr Sarnacki 提交于
Extract ActionView to separate directory
-
由 Paul Nikitochkin 提交于
Tests for bug in sprocket-rails: do not use value of configuration options which changed after environment loaded
-
由 Łukasz Strzałkowski 提交于
Now if somebody by mistake will remove malformed files test will raise error.
-
由 Łukasz Strzałkowski 提交于
-
由 Mark J. Titorenko 提交于
The previous implementation of BacktraceSilencer#noise did not work correctly if more than one silencer was configured -- specifically, it would only return noise which was matched by all silencers. The new implementation is such that anything that has been matched by silencers is removed from the backtrace using Array#- (array difference), ie. we now return all elements within a backtrace that have been matched by any silencer (and are thus removed by #silence). Fixes #11030.
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
-
- 20 6月, 2013 14 次提交
-
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
-
由 Łukasz Strzałkowski 提交于
They were moved to actionview/ and are not used in actionpack
-
由 Łukasz Strzałkowski 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
ActionView still relies on ActionPack in some of the tests.
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
This commit creates structure for Action View gem and is first of a series of commits extracting Action View from Action Pack.
-
由 Rafael Mendonça França 提交于
ActiveModel::Model inclusion chain backward compatibility
-