Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-27 Thread Paulo Ribeiro
Em quarta-feira, 27 de março de 2013 11h36min19s UTC-3, Hassan Schroeder escreveu: > > On Wed, Mar 27, 2013 at 7:04 AM, Paulo Ribeiro > > > wrote: > > > Yes, i have considered it. But before i just want to know if is possible > to > > do this using ActiveRecord. Is it possible to do or not?

Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-27 Thread Hassan Schroeder
On Wed, Mar 27, 2013 at 7:04 AM, Paulo Ribeiro wrote: > Yes, i have considered it. But before i just want to know if is possible to > do this using ActiveRecord. Is it possible to do or not? Dunno, never had a reason to try :-) I think the real question is probably more like "Will the amount o

Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-27 Thread Paulo Ribeiro
Em quarta-feira, 27 de março de 2013 10h31min28s UTC-3, Hassan Schroeder escreveu: > On Wed, Mar 27, 2013 at 5:44 AM, Paulo Henrique Lopes Ribeiro > > wrote: > > > Still, i just asked this here, because i thought that someone had tried > to > > do it before. In case not, i will try by myself.

Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-27 Thread Hassan Schroeder
On Wed, Mar 27, 2013 at 5:44 AM, Paulo Henrique Lopes Ribeiro wrote: > Still, i just asked this here, because i thought that someone had tried to > do it before. In case not, i will try by myself. Uh, just checking -- you know Rails has a flag to generate a new app without ActiveRecord, yes? Ha

Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-27 Thread Paulo Henrique Lopes Ribeiro
Im not worried about performance. Im worried that i want to use it to access the database only. All the other logics i want in a separate class. The callback logics i'm moving to a service. Some other logics to a decorator and accessor. I want to do this only to make sure that a person that does n

Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-27 Thread tamouse mailing lists
On Wed, Mar 27, 2013 at 3:26 AM, tamouse mailing lists wrote: > On Tue, Mar 26, 2013 at 9:15 AM, Paulo Ribeiro > wrote: >> >> >> Em terça-feira, 26 de março de 2013 01h49min23s UTC-3, tamouse escreveu: >>> >>> On Mon, Mar 25, 2013 at 2:51 PM, Paulo Ribeiro >>> wrote: >>> > Em segunda-feira, 25

Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-27 Thread tamouse mailing lists
On Tue, Mar 26, 2013 at 9:15 AM, Paulo Ribeiro wrote: > > > Em terça-feira, 26 de março de 2013 01h49min23s UTC-3, tamouse escreveu: >> >> On Mon, Mar 25, 2013 at 2:51 PM, Paulo Ribeiro >> wrote: >> > Em segunda-feira, 25 de março de 2013 14h39min09s UTC-3, Matt Jones >> > escreveu: >> >> On Sund

Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-26 Thread Paulo Ribeiro
Em terça-feira, 26 de março de 2013 01h49min23s UTC-3, tamouse escreveu: > > On Mon, Mar 25, 2013 at 2:51 PM, Paulo Ribeiro > > > wrote: > > Em segunda-feira, 25 de março de 2013 14h39min09s UTC-3, Matt Jones > > escreveu: > >> On Sunday, 24 March 2013 12:59:00 UTC-4, Paulo Ribeiro wrote: >

Re: [Rails] Re: Split ActiveRecord::Base model

2013-03-25 Thread tamouse mailing lists
On Mon, Mar 25, 2013 at 2:51 PM, Paulo Ribeiro wrote: > Em segunda-feira, 25 de março de 2013 14h39min09s UTC-3, Matt Jones > escreveu: >> On Sunday, 24 March 2013 12:59:00 UTC-4, Paulo Ribeiro wrote: >>> >>> Thx for your reply. I want to make the models more light. I want to make >>> models what

[Rails] Re: Split ActiveRecord::Base model

2013-03-25 Thread Paulo Ribeiro
Em segunda-feira, 25 de março de 2013 14h39min09s UTC-3, Matt Jones escreveu: > > > > On Sunday, 24 March 2013 12:59:00 UTC-4, Paulo Ribeiro wrote: >> >> Thx for your reply. I want to make the models more light. I want to make >> models what will only access the database (CRUD), without callbac

[Rails] Re: Split ActiveRecord::Base model

2013-03-25 Thread Matt Jones
On Sunday, 24 March 2013 12:59:00 UTC-4, Paulo Ribeiro wrote: > > Thx for your reply. I want to make the models more light. I want to make > models what will only access the database (CRUD), without callbacks and the > other stuffs it loads. > > Not to be rude, but this is still "what" you want

[Rails] Re: Split ActiveRecord::Base model

2013-03-24 Thread Paulo Ribeiro
Thx for your reply. I want to make the models more light. I want to make models what will only access the database (CRUD), without callbacks and the other stuffs it loads. Em sábado, 23 de março de 2013 12h19min06s UTC-3, Matt Jones escreveu: > > > > On Friday, 22 March 2013 09:56:23 UTC-4, Paul

[Rails] Re: Split ActiveRecord::Base model

2013-03-23 Thread Matt Jones
On Friday, 22 March 2013 09:56:23 UTC-4, Paulo Ribeiro wrote: > > Hey guys. Im looking to make a model with fewer included modules from > ActiveRecord. Basically, i want to include only the modules so it can work > fine inside rails and with the methods to access the database. > > I tried to do