#rubyonrails - Sat 31 Mar 2007 between 08:32 and 08:37

NY Lost Funds



ReinHzoidy: datetime fields in the database are pulled out as Time objects and Time objects saved to datetime fields in the datebase are converted
zoidy: so say event has start_time datetime field
ben_hzoidy: something like this would work: Posts.find(:all, :conditions => [ 'updated_at > ?', Time.now - 1.week ] )
ReinHer events table
AshimsReinH: Even if the class, as a definition, was stored as an object of whatever language ruby was written in, it wouldn't be a ruby object-- the only way that would happen was if ruby stored the class implementation as a "class" object in memory, in which case I wouldn't consider it an object anyway, just a representation stored inside a ruby object called "class" the term "class" abstractly describes the definition of an object
zoidyReinH: Great, that'll do it, thanks
ben_hjesus, wall of text
AshimsI'm gonna get another drink... u win ;)
I dont care anymore.
ReinHAshims: Ruby fully capable of being written entirely in ruby
ben_hbleh, crap way to end an argument
AshimsReinH: I never said it wasn't
ReinHSo it doesn't matter what language it is written in
I'm even missing words now
lol
AshimsI just pointed out that even if it was running under itself, it wouldn't be a class itself
object
lols
and as we all know, I'm drunk, so you cant win ;)
ben_hso it's not an object, but it is a representation inside a 'class' object?
to me that sounds like an object
ReinHAshims: Class is an object and Object is a class.
Ashims: give me one behavioural proof that classes are not objects
AshimsA class doesn't do anything
there is your proof
you have to instanciate a class beofre it does anything
and then it becomes an object
an object DOES NOT HAVE TO BE instanciated
ReinHAshims: sure a class does things
Ashims*rolls eyes*
kainAshims, not true
ReinHAshims: it instantiates objects!
and you don't instantiate a class, you instantiate instances
and a class is merely an instance of the class Class
which is, itself, a class
I'll remind you of what I've already said twice
even by your inaccurate definition, classes are objects because they are themselves instantiations
ben_hAshims: if we were talking about C you would be right.
AshimsAh...hahahaha
okay... ReinH, I know what you're talking about

Page: 1 8 15 22 29 36 43 50 57 64 71 78 

IrcArchive

NY Lost Funds