#rubyonrails - Sun 4 Mar 2007 between 21:38 and 22:48

NY Lost Funds



freeb0rnCan someone help me with an error please? if so check out: http://pastebin.ca/381754
linojfreeb0rn: the error says @example is nil
freeb0rnany idea why example isn't being initialized?
i've pretty much c'n'p'd the code from here: http://209.85.165.104/search?q=cache:OH4BblcS9V8J:wiki.m001.net/technical/show/CalendarTag+rails+helpers+calendar+js&hl=en&ct=clnk&cd=9&gl=us (google cache because the original page keeps giving me download windows insteal of actually serving the page)
linojhmm, where do you think its being initialized?
freeb0rnI'm really not sure, I got the code elsewhere (see last message) and I'm not sure what it's doing. From what I can piece together it should be grabbing the value of the form name=example, input=date1, but it's doing that by using an @variable somehow. I'm knew to rails so I'm not sure if they original code is bugged or what
*new
ElCarbonite_MBi must be stupid but how do i start my rails server
linojElCarbonite_MB: ctrl-c ?
pstickneElCarbonite_MB, follow through with the tutorial... script/server might be handy to note
jimmygoonIs ruby on rails able to work with libapache2-mod-ruby?
dasil003If I want to build a query manually for use with Activerecord::Base.connection.execute(), how can I safely escape values into it? Like how are :conditions => ['value = ?', value] merged?
pstickneuse the source dasil!
dasil003i am, I thought someone might be able to tell me off the top of their head.
dionysianhmm i don't think there are any schools teaching ruby or rails
psticknedionysian, nope. to busy teaching PHP.
dionysianwell they should start teaching something useful
acetoxyI made a PHP-version of the thing I pasted in #ruby-lang. See the differences. :) http://pastie.caboo.se/44699 and http://pastie.caboo.se/44701
I love Ruby. :)
mrkrissay user has_many comments, that comment belongs_to :user, but also needs to track to who posted it, using by_id. How would I join by_id to user as well as user_id to user?
aroonihey folks
has anyone done anything with activemerchant
acetoxymrkris: belongs_to :by, :class_name => "User", :foreign_key => "by_id"
rikanferalHow can I get a partial to inherit a variable declaration from an associated action?
mrkrisoh ok. thnx
rikanferalNevermind
carterparksusing windows makes me want to kill myself
rikanferalcarterparks: Amen
carterparksall i want to do is watch a streaming netflix movie
chapelhaha
even though mac users are ones more likely to use that kind of service
carterparkswell its in beta now
chapelbecause we have nice screens
the majority of windows users have crappy 15-17 inch crt or lcd monitors
no tv out
and wouldnt know how to use the tv anyways
actioncarterparks needs a tv out cable for his mac
carterparksneeds a tv out cable for his mac
chapelare there ones for macbooks?
sometimes i think it would be novel
but eh

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 101 108 

IrcArchive

NY Lost Funds