Skip to main content

All Questions

Tagged with
0 votes
1 answer
512 views

acts_as_list in multi-tenant application - how do I set the scope?

Question I'm using acts_as_list in a multi-tenant app. I modeled the multi-tenancy using this Railscast: #388 Multitenancy with Scopes (subscription required). I need to ensure my around_filter ...
JoshDoody's user avatar
  • 427
2 votes
2 answers
4k views

How to sort deeply nested collections with ActiveRecord?

I'm building a music-managing Rails app, and my app's users will be able to make ordered playlists of albums, and each album will have an ordered list of songs. In essence, this will look like: ...
trisignia's user avatar
  • 1,173