-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cells 5: Removal of Cell::Concept #391
Comments
👍 i prefer a more explicit writing anyway. |
@apotonick if I'm starting a new project with Cells in Rails, should I use |
https://github.com/trailblazer/trailblazer-cells is gonna be the preferred, canonical way. I love it. |
Totally, i just mean is the actual |
In Cells 5, |
then why keeping it? |
In Cells 5, it'll be gone! In 4.1, the old-school |
new major is always a good time to kick out the known devils. |
Just wanted to point out, the trailblazer site still references the |
Make sure to only use |
Problem
The differentiation between
ViewModel
andConcept
is not only confusing, the latter also implements some conventions that are not in line with the Trailblazer conventions (which is why I originally introducedConcept
).Solution
Per default, pass a constant to
cell
.The
#cell
helper can be configured globally (on theViewModel
class level) to constantize and what not. This assumes that applications either use TRB-style concept cells or suffix cells.This will allow having one helper
cell
, one base classViewModel
and the view finding implemented using different resolvers.The text was updated successfully, but these errors were encountered: