Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

pluralize or alias for build_model? #1

Open
croaky opened this Issue Jun 25, 2009 · 0 comments

Comments

Projects
None yet
1 participant

croaky commented Jun 25, 2009

I bumped up against errors that didn't reveal much to me because I accidentally wrote build_model :user instead of build_model :users.

To help future users of acts_as_fu, what do you think of these two approaches?

require 'active_support/core_ext' and name.pluralize on line 25 (ActsAsFu::Connection.connection.create_table)

or

alias :build_table, :build_model

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment