Fernando Perez wrote:
> !=

Thanks... The reason I didn't think that is what it meant (although I 
believe you :) is that I saw it here:

[Development]>> ap j
#<DistrictSet:0x105568550> {
                   :id => 3,
         :display_name => "ds2",
           :created_at => Sat, 04 Sep 2010 11:21:36 PDT -07:00,
           :updated_at => Sat, 04 Sep 2010 11:21:36 PDT -07:00,
       :secondary_name => nil,
       :icon_file_name => nil,
    :icon_content_type => nil,
       :icon_file_size => nil,
      :icon_updated_at => nil,
     :descriptive_text => nil,
                :ident => "juris-a88e89de29712642eaef324fd9bc03ed"
}
=> nil
## in other words, j is assigned a DistrictSet object, that has j.id = 3

[Development]>> j.save!
  DistrictSet Load (0.3ms)   SELECT "district_sets".id FROM 
"district_sets" WHERE ("district_sets"."ident" = 
'juris-a88e89de29712642eaef324fd9bc03ed' AND "district_sets".id <> 3) 
LIMIT 1
[paperclip] Saving attachments.
=> true
## And when I ask activerecord to save it, I see the very odd <> 3.

Do you understand what it means?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to