#rubyonrails - Sat 31 Mar 2007 between 19:06 and 19:20

NY Lost Funds



imakethingsany good rails ajax tutorials out there...
?
bosiewhat do you guys mean by extracted?
imakethings: the rails book has ajax in it, read it?
imakethingsonline?
RubyPantherextracted == seperated
bosieimakethings: ah ok no its a book (ebook also but it still costs)
imakethingsextracted can also mean, smaller bits of reuseable code or methods.
No, i mean online free tutorials...
RubyPantherimakethings: context is everything
bosieRubyPanther: well it is entering time/date which is stored in a single column but entered in seperated TFs
RubyPanther: so yes they are both entered and displayed seperately but stored in a single one
pstickne: virtual attribute + BS sounds good
RubyPantherbosie: use a timestamp or datetime column
martins_down
bosieRubyPanther: yea thats what i do, sorry what do you mean?
RubyPanther: but the displaying and entering is still in seperate TFs no matter how i store it
RubyPantherbosie: you just use the values in the text fields to create a Ruby object like a DateTime or something
bosieRubyPanther: exactly my plan :)
mistergibsonanyone know why (in lib/authenticated_system.rb), session[:user] would always be nil?
bosiemistergibson: its actually :nil not nil isnt it?
mistergibsonexception says its nil
it sets session[:blah] in there
bosieok
mistergibsonI can access @user in views
_thom_I am having a heck of a time trying to make this recursive function work with Builder. Can someone please advise?
mistergibsonI'm basically calling a method exposed to the views that tests a priv level value
the application can see it
lib/auth_sys sets it, but cannot read it later
I've put it in helper-app.rb
but then it cannot seem to get to the session var
err.. instance
if you know of a primer on what is visible where in the rails framework, that would be coo
ypSamihrm. So if the name 'File' is reserved by rails, what do you all usually call your file object?
hhaamunot exactly by rails, but by ruby.
OetmetGcan anyone help me with a problem I'm having with AJAX? (I'm reading the 'Agile Web..' book)
ypSamierr, yeah =P
OetmetG: you don't need to ask to ask, just go for it
hhaamuthe file object is moreorless obviously called @file
OetmetGwell I'm having this error everytime I click on the button to add a product to the cart

Page: 5 12 19 26 33 40 47 54 61 68 75 82 

IrcArchive

NY Lost Funds