#rubyonrails - Sat 31 Mar 2007 between 13:02 and 13:20

NY Lost Funds



zorglu_RubyPanther: no way without javascript ?
RubyPanthernope
zorglu_RubyPanther: ok will look, thanks
RubyPantherthere might be some shortcut for actually generating the js, I'm not sure
zorglu_RubyPanther: yep, remote_function kindof stuff
hhaamuyou also want to add a submit button (inside <noscript> tags) for those without javascript support.
jomzi know this is not very rails related, but: when copying directories from 1 capistrano working copy to another, i get "omitting directory" failures, because subfolders already exist (i presume), how can i force the copy?
hhaamucause I hate enabling JS for something as simple as form submission.
jomzit's 2 folders of uploaded images that have to move along to the newest release, because they are not in the repository
zorglu_hhaamu: ok :)
jomzand this is the line in my recipe; run "cp #{current_path}/public/#{folder}/* #{release_path}/public/#{folder}/*"
zorglu_jomz: you have to pray that current_path do not contains any space
Chouserjomz: get rid of your final *
jomzstill getting it; command "cp /home/bicyclart/default_www/current/public/artist_images/* /home/bicyclart/default_www/releases/20070331150227/public/artist_images/" failed on zuurstof.openminds.be
Chouserjomz: you want to name single destination directory, not a glob or wildcard pattern or anything. Only use wildcards for the source or "from" side.
hm.
jomzartist_images contains folders named after the model id's, which then again contain the original and thumbnail images
Chousertry "cp -a" instead of just "cp"?
jomznow i get [out :: zuurstof.openminds.be] cp: cannot create regular file `/home/bicyclart/default_www/releases/20070331150422/public/location_images/3/.svn/format': Permission denied
do i need sudo? :/
Chouserthis is inside a subversion working copy??
jomzno it's not in the repository
or maybe.. it may contain some of the subfolders..
sud0n1mWhat is the command to display what is in a hash?
jomzsec
Chouserif it's got a .svn dir, it's from a working copy.
jomzyeah so i first have to get those out of the wc, right?
Chouserin that case you might try "svn cp" instead of "cp" (no -a), but that may not do exactly what you want.
chrislodoes anyone know of open source rails apps for managing sports leagues/teams/matches that I can study for some inspiration ?
jomzthey're not supposed to be in there anyway, cleaning up
yep, works now, thanks Chouser
what does the -a flag do with cp?
RubyPantherarchive
keeps all the permissions and ownership and dates
right?
jomzi see
tx
ReinHRubyPanther: yeah, but what do you know?
actionReinH hides
ReinHhides
RubyPantherI know ReinH fed the ponies while I was away

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

IrcArchive

NY Lost Funds