I am creating a webapp that requires the use of models but does not
require actually saving to the database.
With ActiveRecords, is there a setting to not require an actual data
store?
Thanks in advance for any pointers.
I am creating a webapp that requires the use of models but does not
require actually saving to the database.
With ActiveRecords, is there a setting to not require an actual data
store?
Thanks in advance for any pointers.
On 9 Mar 2008, at 07:38, fso1 wrote:
I am creating a webapp that requires the use of models but does not
require actually saving to the database.With ActiveRecords, is there a setting to not require an actual data
store?
You can just not load activerecord. ( config.frameworks -=
[ :active_record] in environment.rb. There’s a little more messing
around if you’re still on 1.x)
Fred
On Sat, 2008-03-08 at 23:38 -0800, fso1 wrote:
I am creating a webapp that requires the use of models but does not
require actually saving to the database.With ActiveRecords, is there a setting to not require an actual data
store?Thanks in advance for any pointers.
I have used this plugin…
http://agilewebdevelopment.com/plugins/activerecord_base_without_table
with success but that is to create Models that don’t actually store any
data, not for a complete web application.
Craig
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs