Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
script/console : modify an attribute
Guillaume Loader
2/19/2009 1:50:00 AM
Hello everyone!
I would like to know how to modify a variable in the console?
I did this :
e = Entry.find(:first)
e.dev.community.name = "Ruby Geeks"
e.save
But when I look into my database, the variable didn't changed. Did I
mystype?
Thank you :)
--
Posted via
http://www.ruby-...
.
2 Answers
Brian Candler
2/19/2009 9:08:00 AM
0
Questions about the Rails application framework, or parts of Rails such
as ActiveRecord, would best be asked on a Rails mailing list.
This is the Ruby (programming language) list.
--
Posted via
http://www.ruby-...
.
Guillaume Loader
2/19/2009 5:23:00 PM
0
Ok, I'll post it in the correct forum. Thanks!
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
script/console : modify an attribute
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password