[Rails] Re: db:fixures:load does not call Model.save()

2010-07-29 Thread isyairazu
Thankyou Fernando and Marnen! I forget fixtures. I will learn Machinist. Thankyou very much! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this

[Rails] Re: db:fixures:load does not call Model.save()

2010-07-28 Thread Marnen Laibow-Koser
Frederick Cheung wrote: > On Jul 28, 4:22�am, isyairazu wrote: > >> >> $ sqlite3 db/development.sqlite3 >> sqlite> select * from balances; >> //=> |xxx|10|1||... >> // equal is not 9 >> >> Even create_or_update() was the same. >> > > fixtures are directly inserted into the db Which is one of th

[Rails] Re: db:fixures:load does not call Model.save()

2010-07-28 Thread Fernando Perez
isyairazu wrote: > Fred, thank for the reply! > > I was able to understand very well. > > Thakyou very much! You do understand fixtures are in most cases a bad idea to use. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "

[Rails] Re: db:fixures:load does not call Model.save()

2010-07-28 Thread isyairazu
Fred, thank for the reply! I was able to understand very well. Thakyou very much! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group,

[Rails] Re: db:fixures:load does not call Model.save()

2010-07-27 Thread Frederick Cheung
On Jul 28, 4:22 am, isyairazu wrote: > > $ sqlite3 db/development.sqlite3 > sqlite> select * from balances; > //=> |xxx|10|1||... > // equal is not 9 > > Even create_or_update() was the same. > fixtures are directly inserted into the db > Should I write it as >   equal: 9 > in the fixture-file