Permalink
Browse files

[^] 1.8.7 support has been fixed

  • Loading branch information...
1 parent f61271f commit 6134d966a113e68ddf52b830975c2b6dc38006c4 @romanvbabenko romanvbabenko committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rails-footnotes/notes/assigns_note.rb
View
2 lib/rails-footnotes/notes/assigns_note.rb
@@ -41,7 +41,7 @@ def to_table
end
def assigns
- @assigns ||= @controller.instance_variables.map {|v| v.to_sym}.select {|v| v !~ ignored_assigns_pattern } - ignored_assigns
+ @assigns ||= @controller.instance_variables.map {|v| v.to_sym}.select {|v| v.to_s !~ ignored_assigns_pattern } - ignored_assigns
end
def assigned_value(key)

0 comments on commit 6134d96

Please sign in to comment.