[Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread Gilbo
this might be worth a look : http://codaset.com/codaset/codaset/blog/create-schema-less-dynamic-model-attributes On Jan 7, 10:46 pm, Marnen Laibow-Koser wrote: > frankjmat...@gmail.com wrote: > > i guess what i meant to say was that if i created a user-defined > > column then i (through some mag

[Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread Marnen Laibow-Koser
frankjmat...@gmail.com wrote: > i guess what i meant to say was that if i created a user-defined > column then i (through some magical UI controls which i'd eventually > throw together) would like to be able to say is "this column is an > integer.." and when i use that new user defined column it ge

[Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread frankjmat...@gmail.com
i guess what i meant to say was that if i created a user-defined column then i (through some magical UI controls which i'd eventually throw together) would like to be able to say is "this column is an integer.." and when i use that new user defined column it gets the full benefits of validates_nume

[Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread Marnen Laibow-Koser
frankjmat...@gmail.com wrote: > well i'd like to thank everyone who's given me some responses. i've > looked at all the precooked solutions that were suggested but what it > really boils down to is i enjoy the programming challenge and i'm > still not convinced i need/want to switch all the data in

[Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread frankjmat...@gmail.com
well i'd like to thank everyone who's given me some responses. i've looked at all the precooked solutions that were suggested but what it really boils down to is i enjoy the programming challenge and i'm still not convinced i need/want to switch all the data in my app to someone elses app. it just

[Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread Marnen Laibow-Koser
frankjmat...@gmail.com wrote: > the question that could summarize this in a nutshell is this: > > does the orm structure of rails make it a poor framework to implement > a small erp/crm solution? No. It should be fine. > > if you got that then please read ahead - i need some suggestions... >

Re: [Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread tom
i didnt understand "friendly", but a CustomField-Models is similar to what i said is sugar-crm doingand u can do the same in rails. only the views needs to be adapated / can b cumbersome, unless someone has a solution for that. to me, i do more flex and have all custom fields in a simple datagr

[Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread Mark Coates
Frank-- Take a look at http://friendlyorm.com/. That sounds like what you need... You can then evolve your data models on the fly. Or you could do something like create a CustomField model and make your User model so that it 'has_many' custom fields. You could even make it bi-directional and your