#rubyonrails - Sat 31 Mar 2007 between 05:22 and 05:41

NY Lost Funds



zoidyYes, as long as the field is datetime
Ashimscoooool
and there was another one... when the field is updates
*updated
zoidyYup, I think there's also modified_at
Ashimswhats that called?
yeh
zoidyupdated or modified, not sure, just look it up ;)
Ashims(read that on the ibm chaps starter guide some time ago-- very cool stuff ;))
oomwrtuone last question for the night, is there any way to establish an ftp connection to another server with ror?
zoidyoomwrtu, check the lib net/ftp
ypSamiis there a built in rails variable for the last url accessed, so that after say.. authentication, the user can be brought back to the page they were viewing?
zoidyypSami, no, but you can do it using a session
AshimsypSami... if not you could just set one in your session variable
ypSamizoidy: yep, just seeing if there was a built in rails variable =)
Ashimsie... at the top of your application controller set the current page into a "last page" offset in your session variable
oomwrtuthanks zoidy
zoidynp
AshimsypSami... wouldn't be surprised tho ;)
ypSamiI'm finally getting around to writing a decent replacement for login_engine
one that you can drop in, without any application configuration
except before_filter =P
ajaxified, of course =P
(with graceful degradation)
JasonKingHey, I'm in a RESTful controller, in the update method and I'm using the auto-generated model_url method which should create a method like: blah/models (as it does in the create method) - but instead it's creating a blah/models/7 (where 7 is the id that I'm updating) - looks like a bug.
Ashimslols ypSami-- totally something I was thinking about doing myself ;)
ypSamiAshims: I'll post up on my blog the plugin as I finish it, then you can continue it if you wish
boitonoI have installed rails 1.1.6-1 on an ubuntu machine and am trying to freeze a project. I tells me Rake aborted, no such file gems... Can I do this another way?
AshimsypSami: We'll see... I'm doing about 12,000 things at a time here.
ypSami: ;)
ypSamiheh, well it will be there either way. In case you want a head start
Ashims*nods*
ypSamishouldn't the last_url be set in an after_filter ?
Ashimscould be. if it makes sense. do it ;)
JasonKingAnyone? class ColorsController < ApplicationController
Oops, http://pastie.caboo.se/50760
ypSamihow do you obtain the current url?
JasonKingcolor_url - it's part of the REST add-ins.
ypSamiIs there a way to mark dependencies for plugins?
JasonKingOk, I've now included in the debug some other values, what sort of black magic is this!!! http://pastie.caboo.se/50760

Page: 3 10 17 24 31 38 45 52 59 66 73 80 

IrcArchive

NY Lost Funds