lib/lifeboat.rb in lifeboat-0.3.1 vs lib/lifeboat.rb in lifeboat-0.4.0

- old
+ new

@@ -44,9 +44,12 @@ module ActiveRecord def has_lifeboat(options={}) include LifeBoat::Queues + return unless (RAILS_ENV == "production") or (RAILS_ENV == "testing") + + if options[:format] == :xml format = :to_xml else format = :to_json end