Lee Chou

Results 5 comments of Lee Chou

I feel like importing another module will add unnecessary complexity, and easy fix for those that subclass Teams is just to add `Team = SlackRubyBot::Team` and keep everything as-is. As...

So which would you prefer? 1. Change var name to `teams_table` for AR, and `teams_collection` for mongoid. 2. Change var name to `teams_storage_name` 3. Other name? Did you want the...

so, `.store_in = {teams: 'my_table_or_collection_name'} ` ?

Did you mean something like this? `SlackRubyBotServer::Config.teams = {name: 'my_table', class_name: 'MyClass'}` I'm fine with it this way, since it'll read off as "configure the teams to have name 'my_table'"....

Just noticed that more changes needs to be done for this feature, since the db:migrate doesn't pull in the setting of tablename for ActiveRecord. Will continue to work on this.