Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

now compatible with rails3.1

  • Loading branch information...
commit 0abf3e8b73e0edc985c1f58752ce3bf6d75c3393 1 parent 5c0e7f2
Tobias Schlottke tobsch authored
58 Gemfile.lock
View
@@ -7,12 +7,12 @@ GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
- actionmailer (3.0.6)
- actionpack (= 3.0.6)
+ actionmailer (3.0.7)
+ actionpack (= 3.0.7)
mail (~> 2.2.15)
- actionpack (3.0.6)
- activemodel (= 3.0.6)
- activesupport (= 3.0.6)
+ actionpack (3.0.7)
+ activemodel (= 3.0.7)
+ activesupport (= 3.0.7)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.5.0)
@@ -20,25 +20,25 @@ GEM
rack-mount (~> 0.6.14)
rack-test (~> 0.5.7)
tzinfo (~> 0.3.23)
- activemodel (3.0.6)
- activesupport (= 3.0.6)
+ activemodel (3.0.7)
+ activesupport (= 3.0.7)
builder (~> 2.1.2)
i18n (~> 0.5.0)
- activerecord (3.0.6)
- activemodel (= 3.0.6)
- activesupport (= 3.0.6)
+ activerecord (3.0.7)
+ activemodel (= 3.0.7)
+ activesupport (= 3.0.7)
arel (~> 2.0.2)
tzinfo (~> 0.3.23)
- activeresource (3.0.6)
- activemodel (= 3.0.6)
- activesupport (= 3.0.6)
- activesupport (3.0.6)
- arel (2.0.9)
+ activeresource (3.0.7)
+ activemodel (= 3.0.7)
+ activesupport (= 3.0.7)
+ activesupport (3.0.7)
+ arel (2.0.10)
builder (2.1.2)
erubis (2.6.6)
abstract (>= 1.0.0)
i18n (0.5.0)
- mail (2.2.15)
+ mail (2.2.19)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
@@ -50,20 +50,20 @@ GEM
rack (>= 1.0.0)
rack-test (0.5.7)
rack (>= 1.0)
- rails (3.0.6)
- actionmailer (= 3.0.6)
- actionpack (= 3.0.6)
- activerecord (= 3.0.6)
- activeresource (= 3.0.6)
- activesupport (= 3.0.6)
+ rails (3.0.7)
+ actionmailer (= 3.0.7)
+ actionpack (= 3.0.7)
+ activerecord (= 3.0.7)
+ activeresource (= 3.0.7)
+ activesupport (= 3.0.7)
bundler (~> 1.0)
- railties (= 3.0.6)
- railties (3.0.6)
- actionpack (= 3.0.6)
- activesupport (= 3.0.6)
+ railties (= 3.0.7)
+ railties (3.0.7)
+ actionpack (= 3.0.7)
+ activesupport (= 3.0.7)
rake (>= 0.8.7)
thor (~> 0.14.4)
- rake (0.8.7)
+ rake (0.9.0)
shoulda (3.0.0.beta2)
shoulda-context (~> 1.0.0.beta1)
shoulda-matchers (~> 1.0.0.beta1)
@@ -72,12 +72,12 @@ GEM
thor (0.14.6)
treetop (1.4.9)
polyglot (>= 0.3.1)
- tzinfo (0.3.26)
+ tzinfo (0.3.27)
PLATFORMS
ruby
DEPENDENCIES
jquery_ui_rails_helpers!
- rails (~> 3.0.0)
+ rails (>= 3.0.0)
shoulda (~> 3.0.0.beta2)
2  lib/helpers/accordions_helper.rb
View
@@ -35,7 +35,7 @@ def accordion_head(accordion)
end
def accordion_body(accordion)
- content_tag :div, capture( &accordion[3] )
+ content_tag( :div, &accordion[3] )
end
def method_missing( *args, &block )
4 lib/helpers/tabs_helper.rb
View
@@ -52,7 +52,9 @@ def render_bodies
if tab[4][:ajax]
# there are no divs for ajaxed tabs
else
- content_tag( :div, capture( &tab[3] ), tab[2].merge( :id => tab[0] ) )
+ p tab[3].class
+ puts "test"
+ content_tag( :div, tab[2].merge( :id => tab[0] ), & tab[3])
end
end.join.to_s
end
Please sign in to comment.
Something went wrong with that request. Please try again.