diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-12-26 21:56:21 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-26 21:56:21 +0000 |
commit | f4f8923cf0ef5bd31f9e98cecf4603d0c4bde296 (patch) | |
tree | 2c5d9b59cefa59476ef48ea85aa0c2f00e1e33c1 /actionpack/lib | |
parent | 6dc12881110d26bb952bd0f565623144f10a07b6 (diff) | |
parent | 5cebe69e74d411c3c9e5f6ab9d4b2b16ee36177c (diff) | |
download | rails-f4f8923cf0ef5bd31f9e98cecf4603d0c4bde296.tar.gz rails-f4f8923cf0ef5bd31f9e98cecf4603d0c4bde296.tar.bz2 rails-f4f8923cf0ef5bd31f9e98cecf4603d0c4bde296.zip |
Merge commit 'fred/pullable'
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/assertions/selector_assertions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/assertions/selector_assertions.rb b/actionpack/lib/action_controller/assertions/selector_assertions.rb index 248ca85994..7f8fe9ab19 100644 --- a/actionpack/lib/action_controller/assertions/selector_assertions.rb +++ b/actionpack/lib/action_controller/assertions/selector_assertions.rb @@ -402,6 +402,7 @@ module ActionController if rjs_type if rjs_type == :insert position = args.shift + id = args.shift insertion = "insert_#{position}".to_sym raise ArgumentError, "Unknown RJS insertion type #{position}" unless RJS_STATEMENTS[insertion] statement = "(#{RJS_STATEMENTS[insertion]})" |