Re: [ruby-81] Favorite Rails non-API reference?

From: Dan T.
Sent on: Saturday, August 23, 2008 11:05 AM
Howdy Loqi,

Here's some stuff which I hope helps.  It's not exhaustive, but hopefully serves to help point you in a good direction:

> 1. Rails directory structure 
> What is the intended purpose for each of the directories in the standard Rails directory structure?

The README file created when one uses the Rails command (rails app_name) lists the intended purposes for the directories it generates.  That info. is also available on the front page of (down at the bottom).

> 2. Rails command reference 
> What are all the magical things that can be done with the stuff in 
> the script directory? What about the Rails command itself? 

The Rails command itself is a generator.  I don't know a whole lot 'bout the other stuff in there, 'cept that I use most of 'em without giving a whole lot of thought to how/why they work.

Dr. Nic Williams wrote Rubigen which helps one to write their own plugins/gems/goodness.  Here's a link to a video of him discussing it (he talks about the "rails" command some):

> 3.Rails packaged JavaScript reference 
> What're all the treasures in the public/javascripts directory? 


The Peepcode episode: Javascript with Prototype.js is pretty darn good.

I found this PragProg book to be useful:

> 4. Rake. 
> How do I write my own Rake tasks? 

Gregg Pollack from RailsEnvy has written an awesome post on this:

> 5. Plugins, plugins, plugins. 
> Is there a comprehensive (or at least comprehensible) one-stop list 
> of all the best plugins floating around in the plugin-o-shere? Are 
> there user reviews on them? 

RubyForge and GitHub both have tons o' great stuff.


> Bonus: Is it possible to un-plugin a plugin without leaving litter 
> behind? Or do I have to resort to a source code rollback? 

If I'm not mistaken, removing a plugin is generally as simple/straight-forward as deleting its directory and contents from the vendor/plugins directory.

> If you have a favorite book, website or back alley for this sort of 
> information I'd like to hear about it, even if it's well-known. I'm a 
> bit isolated out here, so I don't always know about the stuff all you 
> young whippersnappers are up on.  - It's completely worth getting a subscription to, the screencasts are insanely informative. - Ryan Bates has earned a special place in (insert favorite version a good afterlife place here) for his awesome free screencasts on a myriad of Rails topics  - Gregg and Jason have a bunch of great presentations/videos about different topics.  Gregg's presentation on Active Record was insanely helpful to me.

As I mentioned, this is by no means an exhaustive list, but the links above are all good starting points.  :)

Best regards,

- Dan

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy