Permalink
Browse files

Address attributes like max_size should not be serialized.

  • Loading branch information...
waratuman committed May 30, 2013
1 parent deb0a3c commit 6f202da684c4ccb2c90fdc9c8af591eafa79b9e1
Showing with 5 additions and 5 deletions.
  1. +4 −4 lib/mls/models/address.rb
  2. +1 −1 mls.gemspec
@@ -16,10 +16,10 @@ class MLS::Address < MLS::Resource
property :state, String
property :country, String
property :postal_code, String
- property :min_rate_per_sqft_per_year, Decimal, :serialize => :if_present
- property :max_rate_per_sqft_per_year, Decimal, :serialize => :if_present
- property :max_size, Fixnum, :serialize => :if_present
- property :min_size, Fixnum, :serialize => :if_present
+ property :min_rate_per_sqft_per_year, Decimal, :serialize => :false
+ property :max_rate_per_sqft_per_year, Decimal, :serialize => :false
+ property :max_size, Fixnum, :serialize => :false
+ property :min_size, Fixnum, :serialize => :false
property :comments, String
property :year_built, Fixnum
property :size, Fixnum
View
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "mls"
- s.version = '0.3.5'
+ s.version = '0.3.6'
s.authors = ["James R. Bracy", "Jon Bracy"]
s.email = ["james@42floors.com"]
s.homepage = "http://mls.42floors.com"

0 comments on commit 6f202da

Please sign in to comment.