lib/tableview/helper.rb in tableview-0.3.3 vs lib/tableview/helper.rb in tableview-0.4.0
- old
+ new
@@ -8,16 +8,12 @@
def html?
@params[:format] == :html || @params[:format].blank?
end
def method_missing(name, *args, &blk)
- puts name.inspect
if m = name.to_s.match(/^(.+)\?$/)
- puts "matched"
- #puts m.inspect, name.inspect
@params[:format] == m.captures.first
else
- puts "did not match"
super
end
end
end
\ No newline at end of file