# Is there a Rails-like project out that just makes writing so

**URL:** <https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734>\
**Category:** Ruby\
**Created:** [November 23, 2005, 10:54pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734 "2005-11-23T22:54:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AvandenHoven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a183cd/32.png) [@AvandenHoven](https://www.ruby-forum.com/u/AvandenHoven)\
**Post date:** [November 23, 2005, 10:54pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734/1 "2005-11-23T22:54:09Z")

</div>

Hey guys,

It struck me the other day that one of the nicest things about Rails  
is that it knows a lot of things so I don’t have to. For instance,  
when i want to create a new Rails project I just type “rails path/to/  
new/project” and a handful of seconds later I get a dummied out  
webapp with test frameworks and all. I then run ./script/generate and  
start building the application out from there. I don’t have to worry  
about where to put my

Nothing too surprising there. What is surprising is how unbelievably  
useful that is. I’m no longer a coder, I know how to program in a  
number of languages but I’ve been specializing in Web Technologies  
(and relying on REALLY clever java coders) for long enough that I’m  
very rusty. Ruby helps me get back into the game. But every time I  
want to start a project, even to do something relatively trivial, I  
always run into the question, “How do I start this?”. I’m not sure  
how I should arrange my files, where I should put my test cases, etc.

I would like someone a lot smarter than I to build something like the  
Rails generators but far more generalized. Things I would like it to do:

1. Create a framework for building your app. Perhaps it could take a  
list of dependancies you know you’re going to need and gets them setup  
CreateProject myproject RMagick JabberR MYSQL  
CreateProject myproject Rails \<-- AKA rails myproject only it would  
install rails if it hadn’t already?

2. Generator for classes  
./script/generate class myclass  
./script/generate class mymodule/myclass  
./script/generate class mymodule/myclass -i InheritedClass -m  
MixInModule1 -m MixinModule2

3. Scripts for “gemifying” your project. I assume that, assuming  
you’ve written code in a particular fashion, you could automate the  
process of turning your code into a gem.

I guess that basically I’m looking for Rails without the Rails  
“Database App on the Web” paradigm.

---

<div class="post-metadata">

**Author:** ![AvandenHoven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a183cd/32.png) [@AvandenHoven](https://www.ruby-forum.com/u/AvandenHoven)\
**Post date:** [November 23, 2005, 10:58pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734/2 "2005-11-23T22:58:11Z")

</div>

Hey guys,

It struck me the other day that one of the nicest things about Rails  
is that it knows a lot of things so I don’t have to. For instance,  
when i want to create a new Rails project I just type “rails path/to/  
new/project” and a handful of seconds later I get a dummied out  
webapp with test frameworks and all. I then run ./script/generate and  
start building the application out from there. I don’t have to worry  
about where to put my

Nothing too surprising there. What is surprising is how unbelievably  
useful that is. I’m no longer a coder, I know how to program in a  
number of languages but I’ve been specializing in Web Technologies  
(and relying on REALLY clever java coders) for long enough that I’m  
very rusty. Ruby helps me get back into the game. But every time I  
want to start a project, even to do something relatively trivial, I  
always run into the question, “How do I start this?”. I’m not sure  
how I should arrange my files, where I should put my test cases, etc.

I would like someone a lot smarter than I to build something like the  
Rails generators but far more generalized. Things I would like it to do:

1. Create a framework for building your app. Perhaps it could take a  
list of dependancies you know you’re going to need and gets them setup  
CreateProject myproject RMagick JabberR MYSQL  
CreateProject myproject Rails \<-- AKA rails myproject only it would  
install rails if it hadn’t already?

2. Generator for classes  
./script/generate class myclass  
./script/generate class mymodule/myclass  
./script/generate class mymodule/myclass -i InheritedClass -m  
MixInModule1 -m MixinModule2

3. Scripts for “gemifying” your project. I assume that, assuming  
you’ve written code in a particular fashion, you could automate the  
process of turning your code into a gem.

I guess that basically I’m looking for Rails without the Rails  
“Database App on the Web” paradigm.

---

<div class="post-metadata">

**Author:** ![AvandenHoven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a183cd/32.png) [@AvandenHoven](https://www.ruby-forum.com/u/AvandenHoven)\
**Post date:** [November 24, 2005, 1:19am UTC](https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734/3 "2005-11-24T01:19:12Z")

</div>

On Wednesday 23 November 2005 16:45, Jeremy K. wrote:

> On Nov 23, 2005, at 1:57 PM, Adam Van Den H. wrote:
> 
> > I would like someone a lot smarter than I to build something like  
> > the Rails generators but far more generalized.
> 
> Hi Adam,
> 
> I think you’ll reap the greatest dividends by plunging directly into  
> Ruby’s lush tropical waters.

Lol, yeah, when I read this the first thought I had too was “It’s called  
Ruby.” 🙂

---

<div class="post-metadata">

**Author:** ![AvandenHoven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a183cd/32.png) [@AvandenHoven](https://www.ruby-forum.com/u/AvandenHoven)\
**Post date:** [November 23, 2005, 11:46pm UTC](https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734/4 "2005-11-23T23:46:34Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

On Nov 23, 2005, at 1:57 PM, Adam Van Den H. wrote:

> ```
> ./script/generate class myclass
> ./script/generate class mymodule/myclass
> ./script/generate class mymodule/myclass -i InheritedClass -m  
> 
> ```
> 
> MixInModule1 -m MixinModule2
> 
> Or something. The important point would be that it would create  
> the necessary files, including unit test files. Perhaps a testing  
> framework like that of Rails where YAML is used to create fixtures  
> for testing could be prescribed.

Hi Adam,

I think you’ll reap the greatest dividends by plunging directly into  
Ruby’s lush tropical waters.

You’ll find that building apps to bring your ideas to life is a joy  
that a code generator can never capture.

Look at example code and others’ apps to get a feel for how to get  
yourself situated. Above all, write Ruby! Crack open irb and test,  
run, test, run 🙂

Best,  
jeremy  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.2 (Darwin)

iD8DBQFDhPD+AQHALep9HFYRAokBAKDNhCHXEU36YJeHzla2BvcC17QsUwCeIROc  
5itv1ECBhCViEBfWR++OZ7g=  
=XZ97  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![AvandenHoven](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a183cd/32.png) [@AvandenHoven](https://www.ruby-forum.com/u/AvandenHoven)\
**Post date:** [November 24, 2005, 2:51am UTC](https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734/5 "2005-11-24T02:51:42Z")

</div>

Kevin B. wrote:

> > Ruby’s lush tropical waters.
> 
> Lol, yeah, when I read this the first thought I had too was “It’s called  
> Ruby.” 🙂

Exactly.

Rails is Ruby + “Database App on the Web” paradigm, so, if you remove  
the paradigm …

I mean, there’s a _reason_ Rails is written in Ruby, no?

James

–

[http://www.ruby-doc.org](http://www.ruby-doc.org) - Ruby Help & Documentation  
[Ruby Code & Style](http://www.artima.com/rubycs/) - Ruby Code & Style: Writers wanted  
[http://www.rubystuff.com](http://www.rubystuff.com) - The Ruby Store for Ruby Stuff  
[http://www.jamesbritt.com](http://www.jamesbritt.com) - Playing with Better Toys  
[http://www.30secondrule.com](http://www.30secondrule.com) - Building Better Tools
