class Rails::Generators::ActiveModel
def self.build(klass, params=nil)
GET new
def self.build(klass, params=nil) if params "#{klass}.new(#{params})" else "#{klass}.new" end end
def self.build(klass, params=nil) if params "#{klass}.new(#{params})" else "#{klass}.new" end end