Found model_security: http://perens.com/FreeSoftware/ModelSecurity/Tutorial.html
It's a generator that creates an authentication system including security at the model level. Very nice looking. I've installed it and am starting to modify the generated files to match my needs.
So, I started down the road of implementing model_security, and I eventually backed off.
It seemed to reaaally slow down page times. And it was problematic with forms in partials. It's got some great ideas, but, maybe it's a little more than I need.
So, I removed model_security, and instead went to a simpler design. I'm just putting readable_by?(user) and editable_by?(user) methods into my models that define the rules. Then I check the appropriate method in my controllers. @model.readable_by?(current_user)
Hey, it works! haha
I also worked on Polls a bit. I've got the tables cleaned up, the data migrated, and the polymorphic associations in my models. so, the Topic class now has_many :polls, :as => :pollable, and the Poll class belongs_to :pollable, :polymorphic => true
I've gotten the polls working in View mode, and also attached to Topics. I have to get voting working, as well as clean up the scaffolding for creating/editing new polls.
Less than two weeks till I have to move the site! :( And I still haven't gotten a new host!
you've probably heard of it, but textdrive hosts rails sites:
http://www.textdrive.com/hosting
$12/month for shared hosting.
yeah, everybody's site on there seems real slow tho. dreamhost does hosting for $7.95/mo and they support RoR. i've only heard slightly better things about them. i also have a coupon that gives you a free year of hosting.
but i found another guy that might do it for me for what i'm paying now. hopefully i'll find out this week.