#rubyonrails - Sat 17 Mar 2007 between 17:31 and 17:38



shafirenew_record: true
errors:
leethalKira: bad thing to do, use mongrel or something
shafiretitle:
ah sorry :(
leethalshafire: don't paste in here mon
shafiresorry
sorry :(
leethalshafire: I'm in the mood for spanking, so watch out
shafire;(
leethalKira: as in: use your server to deploy rails, not rails to deploy the server
lonnyshafire: You have two "errors" objects there. One has *id001, the other is empty. Do you know which is which?
shafireyes
lonnyshafire: So are you looking at base.errors, or just errors?
shafirelonny:
http://pastie.caboo.se/47632
i want that
only the error messages
Eric_Jardasret = []
kiraleethal: I'm very tempted to ask "How do I do that?", but have decided against it. God, the DreamHost wiki page on rails is a complete mess...
Eric_Jardasthis is a better way for new array
shafirewhy?
and string?
leethalKira: dreamhost isn't exactly rolls royce
Eric_Jardas<shafire> already told you ,less is more ;)
actionthinfu uses dreamhost, and proud of it
thinfuuses dreamhost, and proud of it
shafireEric_Jardas: :D
lonnyshafire: I was asking because I did not understand why errors would need to be "cleaned up". Normally, it is just an array of strings.
shafireEric_Jardas: http://pastie.caboo.se/47633?
lonnyshafire: Or empty.
kiraleethal: DreamHost vs Site5?
Eric_Jardassee, its nicer and shorter :)
shafirelonny: because there was many stuff in it that don't need
i want only the messages
its easier to print it in rhtml files
how Eric_Jardas said
less is more
:D
leethalKira: not sure, really
lonnyshafire: I see now what you were talking about.

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

IrcArchive