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-activeattr
http://railscasts.com/episodes/193-tableless-model
The table-less model railscast is kinda outdated and can lead into
something wrong I think :)) It's better to watch this one:

http://railscasts.com/episodes/219-active-model

Or read Yehuda's introduction:

http://yehudakatz.com/2010/01/10/activemodel-make-any-ruby-object-feel-like-activerecord/


--
Sincerely yours,
Aleksey V. Zapparov A.K.A. ixti
FSF Member #7118
Mobile Phone: +34 677 990 688
Homepage: http://www.ixti.net
JID: zapparov@jabber.ru

*Origin: Happy Hacking!

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedJun 21, '12 at 7:25p
activeJun 22, '12 at 10:20a
posts4
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase