#rubyonrails - Sat 31 Mar 2007 between 03:36 and 04:24

NY Lost Funds



RobotDeathSquadAre local variables available to partials?
mikepenceif you pass them explicitly
RobotDeathSquadah
that would help. ;)
mikepencelocals => {"key" => "value}
but there is a magic component
variable, I mean
heh
so, if you have a partial called _person and a @person variable hanging around
it automatically passes it in to the partial as person
without the @
RobotDeathSquadah
mikepenceotherwise, just send a hash of variables in the argument locals
RobotDeathSquadtkx
mikepencerailshelp.com is a great resource, too
just look up render
Palishbleh
ypSamiwhat's the best encryption for a stored password?
for Rails
sha1?
lonnyypSami: "Best" is relative. Most common are MD5 and SHA1. You should salt them.
ypSamilonny: thank you
sgroverany experts with scriptaculous?
Doing a new Draggable('something'), but my something has not yet been added to the DOM. So I'm getting an error. Any tips?
(I'm building a complex page element, then appending it as a whole)
foxinessthe_two_site :action => "become_one" => http://www.railsapi.org/ + http://api.rubyonrails.org/
IcemaannThis: link_to('link',{ :controller => 'pictures', :action => 'destroy', :id => p, :lookid => @look }, :method => 'post' , :confirm => 'Are you sure you wish to remove this item?'); used to generate urls like: http://127.0.0.1:3000/pictures/destroy/2?lookid=2 but since ive upgraded rails, it produces: http://127.0.0.1:3000/pictures/destroy?lookid=2 , which does not work. Am I doing something wrong?
actionIcemaann forgot to identify with nickserv
Icemaannforgot to identify with nickserv
rumplewhat's the best way to store a simple array as an attribute in a model?
RobotDeathSquadis there a way to pass a css "class" to image_tag?
lonnyRobotDeathSquad: After the other stuff there is an options hash. You should be able to do :class => "xxx"
RobotDeathSquadwicked, thanks
I was trying to do :html => "class='foo'"
rumpleok i've got it => serialize
PalishreplaceOrInsertBeforeSubmit(dom,cur,jc);
...
"undefined method 'name=' for false:FalseClass'
whatever that means.
Can a mode @pack.error "hit"
God, asdlfkjsd. Stupid keyboard.

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

IrcArchive

NY Lost Funds