0

Can I use ActiveRecord for existing models and Friendly for new models?

Basically, I want to decide which models I'd like to be schemaless and which models I'd like to be done the "old" style.

tshepang
  • 12,111
  • 21
  • 91
  • 136
user94154
  • 16,176
  • 20
  • 77
  • 116

2 Answers2

1

That should be possible. In the worst case you will have to assign a separate database to Friendly with Friendly.configure.

1

Absolutely. There's no reason you can't use Friendly alongside ActiveRecord models.

As Manfred says, you could assign a separate database to Friendly - or not. Either way.