**Try this:**
```ruby
def create_property
  Property.create do |p|
    p.amount_rooms = rand(6)
    p.title_to_print = Faker::Lorem.word
    p.address = Faker::Address.street_address
    p.description = Faker::Lorem.sentence
    p.amount_bathrooms = rand(2)
    p.lot = rand(4)
    p.type_property = random_building_type
    p.meters_constructed = rand(100)
    p.type_transaction = random_transaction
    p.status = random_status
    p.description_to_print = Faker::Lorem.sentence
    p.to_rent = rand(1000)
    p.to_sale = rand(1000)
    p.latitude = rand(100)
    p.longitude = rand(100
    p.money_to_rent = Money.last
    p.money_to_sale = Money.last
  end
end
```