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