#rubyonrails - Sun 4 Mar 2007 between 09:29 and 10:02

NY Lost Funds



bryanlInaraTheKitten: install macports.... sudo port install ruby
infridInaraTheKitten: u probably know this, but I followed this for my mac, and was very easy
http://blog.nanorails.com/articles/2006/07/11/installing-rails-on-mac-os-x-tiger
PhoopInaraTheKitten: slicehost is great, rebuild slice on the fly if you fucked up.. snapshots backups
Alot of new features coming in if you follow their forums
crolle17here is an example of my question: http://pastie.caboo.se/44586
gma_this hosting discussion got me thinking; where do you guys run your subversion repos, if you deploy with capistrano?
I'm not keen on sticking mine on the public net, but I hear that capistrano requires access to it to deploy
dagbrownA combination of keychain and svn+ssh:// urls should help
crolle17i shortened it a bit for better understanding: http://pastie.caboo.se/44586
defsdoorcrolle17: no need for value
crolle17: page_replace_html 'DOM', 'Hello'
crolle17: you might want to look at pulling that out into rjs - so your controller is tied so tightly to the view
crolle17defsdoor but that doesn't work
defswork i tried this: page.replace_html('vorgang_bez', 'Test')
defswork so how does the controller know, that the value is meant?
defsdoordo you have a DOM with the id 'vorgang_bez' ?
crolle17defswork yes
defsdoorcrolle17: I'd checked my working code and I use that all the time and it works
page.replace_html('statusbar_message', '')
page.replace_html "group_#{@group.id}_errors", s
crolle17defswork please let me test it with a simple text_field
defsdoor what is statusbar_message? it is an id for a textfield?
defsdoorcrolle17: you cannot render a value into a testfield
crolle17: you have to replace a DOM
crolle17defswork ah. shit.
defsdoorcrolle17: you;d have to render the html that paitns the textfield
paints*
put it in a div/span etc..
and re-render the contents of that
crolle17defswork o.k. the questions is answered. i thought there would be a more luxurious possibility existing.
peterretiefi have a div <div id="star-ratings-block-<%= @recipe.id.to_s-%>">
defsdoorno need to to_s it
everything inside <%= is to_s'd anyway
crolle17peterretief defswork is correctly
peterretiefdefsdoor: i was geting desperate
defsdoor<%= 'hello' %> is 'hello'.to_s
peterretiefmy rjs page.replace_html "star-ratings-block-#{@recipe.id}".to_s
crolle17peterretief but that was not your problem wans't it?
peterretiefok will remove all the to_s ;s

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 95 102 109 

IrcArchive

NY Lost Funds