It is a similar concept but it wouldn't be used just for the application
creation. The settings could be modified at any time...
Cheers
Em 02-09-2011 03:26, Andreas Arnold escreveu:
Have you looked at RailsWizard (http://railswizard.org/)? Is this more
or less what you would expect from your "rails configure" task? Except
of course that it would be local. I really like the idea. Maybe even
with hooks so others can add their plugin to the configure command?
That would be too much for rails core, but I guess would work as a gem.
Regards,
Andreas
On Fri, Sep 2, 2011 at 1:55 AM, Rodrigo Rosenfeld Rosas
<[email protected] <mailto:[email protected]>> wrote:
I find your propose too verbose to my taste :P
But I'm sure others will like your idea. :)
I think that an alternative interface to the command-line old
fashioned (and good by the way ;) ) prompt, would be being able to
change this defaults through the web interface.
For instance, "rails configure" would open a web application in a
new port and address where you would be able to change your
settings for the application.
Putting the interface in the web will get all the benefits of
hyperlink, explanations and the like at no cost :)
I'm just doing some brain storm here. Didn't think very deep about
this yet...
Best,
Rodrigo.
Em 01-09-2011 20:18, Everton Moreth escreveu:
I always thought that something like that would be good, but too
old fashioned.
An idea of mine (that I could never even start developing [shame
on me] until now) was a gem called rails-make
The intent is to do something like that:
rails make my js test framework to jasmine
rails makemy js test framework toevergreen
rails makemy integration test framework tocucumber
rails makemy integration test framework tosteak
rails makemy unit test framework torspec
rails makemy unit test framework tounittest
...
Or even:
rails make my model Employee act as tree=> adds gem
"acts_as_tree" do Gemfile, includes acts_as_tree on the model,
bundle install !
And the menu would be:
rails what can I make?
I don't know if it makes sense, but sounds awesome!! ^^ I would
love to get someone to help me develop that one!
Everton Moreth
On Thu, Sep 1, 2011 at 3:03 PM, Rodrigo Rosenfeld Rosas
<[email protected] <mailto:[email protected]>> wrote:
Now that the rails command is getting lots of options, maybe
it would make sense to have some "rails interactive" command.
Some possible workflow:
What do you want to do?
1- Create a new Rails application
2- Run server
3- Generate a migration
4- Generate a model
...
Suppose you click 1:
1- Create the application
2- Change test approach
3- Disable ORM - This would be "Enable ORM" if it was disabled
4- Disable tests
5- Change ORM implementation
...
Now, suppose 2 was chosen:
1- Use TDD frameworks
2- Use BDD frameworks
3- Learn the differences
Then, after choosing 2:
1- Change current Ruby test framework (Rspec)
2- Change current Javascript test framework (Jasmine)
While clicking in 2 again:
1- Jasmine
2- Evergreen
3- Type a new one
These are just some random thoughts. Make sense?
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.