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

Generators #19

Open
standardtoaster opened this issue Jul 1, 2011 · 3 comments
Open

Generators #19

standardtoaster opened this issue Jul 1, 2011 · 3 comments

Comments

@standardtoaster
Copy link
Contributor

I think it would be pretty handy to write some generators for using activo and form/attrtastic. Should those go into web-app-theme, or do you think we should add them to activo-rails?

I ask because it appears that activo has diverged from web-app-theme. Including web-app-theme just to use the "themed" generators seems confusing.

Opinions?

@jellybob
Copy link
Owner

jellybob commented Jul 1, 2011

I have to admit I've never used the web-app-theme generators - what do they do?

I'm very happy to have some sort of form generator in activo-rails, but I very rarely use generators, so I'm probably not the person to be designing them.

@standardtoaster
Copy link
Contributor Author

They basically set up all of the cruft, same as the standard scaffold, but the markup fornusing the themes that activo is built on.

I mostly use them for reference implementations, to get the hang of the markup expected of me - which I find is fairly difficult with activo.

I'm more than happy to contribute a generator, which I think would greatly help out new users. Do you happen to have a test or sanitized app that utilizes all of the fun stuff like attr/formtastic? It would help me check my implementation, which I could then use to write said generator, plus a reference app would be nice for testing.

@jellybob
Copy link
Owner

jellybob commented Jul 1, 2011

That sounds good to me - the only reference application I know of is Vowessly, the application that this was extracted from - it can be found at http://github.com/jellybob/Vowessly/. I'm not using attrtastic, but Formtastic gets a fairly decent workout.

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