hashrocket / decent_exposure

A helper for creating declarative interfaces in controllers
MIT License
1.81k stars 107 forks source link

tag model #161

Closed mzaragoza closed 8 years ago

mzaragoza commented 8 years ago

I have a model name tag. I notice that this is causing many problems

expose(:tags){ Tag.all.order('ID DESC') } expose(:tag, attributes: :tag_params)

is tag a reserve keyword?

mattpolito commented 8 years ago

What kind of problems are you experiencing?

vnegrisolo commented 8 years ago

I don't think that tag is a reserved word for decent_exposure. It's possibly :attributes option.

hey @mzaragoza did you check this wiki?: https://github.com/hashrocket/decent_exposure/wiki/Api-changes-in-version-3

If you have a problem to upgrade and this it's not listed there yet it would be nice if we add it there. Let us know.