Skip to content
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

New Collection API #368

Closed
timoschilling opened this issue Jan 6, 2016 · 3 comments
Closed

New Collection API #368

timoschilling opened this issue Jan 6, 2016 · 3 comments
Milestone

Comments

@timoschilling
Copy link
Contributor

concept('post').collection([...]).(:item)
concept('post', collection: [...]).(:item)
@timoschilling timoschilling added this to the v4.1.0 milestone Jan 6, 2016
@apotonick
Copy link
Member

apotonick commented Apr 19, 2016

What about this?

cell(:post, collection: [..]) { |c| c.(:item) }

I really want to avoid a DSL object.

@timoschilling
Copy link
Contributor Author

The Block execution cost to much time.

cell(:post).collection(:item)

@apotonick
Copy link
Member

You were right, I was wrong! 😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants