Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> a = Address.first
- => #<Address id: 14765279, firstname: "Frank", lastname: "Foo", address1: "123 Foo St.", address2: "Apt. F", city: "Fooville", state_id: 889445952, zipcode: "16804", country_id: 214, phone: "614-555-1212", created_at: "2009-04-20 19:08:24", updated_at: "2009-04-20 19:08:24", state_name: nil>
- >> z = Zone.first
- => #<Zone id: 1, name: "EU_VAT", description: "Countries that make up the EU VAT zone.", created_at: "2009-04-20 19:08:23", updated_at: "2009-04-20 19:08:23">
- >> z.include?(a)
- => false
Add Comment
Please, Sign In to add comment