Re: [Rails] how to use model withour database

2012-06-21 Thread Aleksey V Zapparov
On Thu, 21 Jun 2012 16:54:46 -0300 Martin Aceto wrote: > > I'm new to ruby on rails and I have little problem. I need to make > > application that creates list of items on startup. So model shouldnt > > have database. > > maybe this could help you > > http://railscasts.com/episodes/326-activeat

Re: [Rails] how to use model withour database

2012-06-21 Thread Martin Aceto
On Thu, Jun 21, 2012 at 4:25 PM, Amer Zildzic wrote: > Hi, > > I'm new to ruby on rails and I have little problem. I need to make > application that creates list of items on startup. So model shouldnt > have database. > > 1. Is the best choice to use standard class as model, for example > item.rb

[Rails] how to use model withour database

2012-06-21 Thread Amer Zildzic
Hi, I'm new to ruby on rails and I have little problem. I need to make application that creates list of items on startup. So model shouldnt have database. 1. Is the best choice to use standard class as model, for example item.rb in models folder? 2. What's the best way to create collection of mo