<commit_before>#Rails TextMate Bundle

##Description

Features I've added to the bundle include:

####Shoulda Support
 * Full shoulda support WITHOUT having to swap your active bundle.  This allows you to continue using the Rails bundle, but still all the advantages of my Shoulda bundle:
   * syntax highlighting, 
   * ability to run tests and contexts from textmate
   * shoulda snippets and commands
   * <code>⌘⇧+T</code> lists shoulda tests / contexts

####Other Changes
 * <code>⌥+:</code> aligns code (ie if you have a hash on multiple lines, you can easily align all the keys with the first key)
 * <code>⌥⇧+M</code> opens a window of recent migrations with links to open the migration file
 * <code>⌥⇧+L</code> lets you easily  open or tail rails logs (development, test, production) 
 * <code>rest⇥</code> - snippets for rest named routes (you'll never need to pull out that rest cheatsheet again!)
 * <code>⌘⇧+T</code> lists factory names (when file includes Factory Girl definitions)
 * Lots of other rails snippets: Rails.root, asserts, scopes, etc.  
 
##Installation

1. $ `cd ~/Library/Application\ Support/TextMate/Bundles/`
2. $ `git clone git://github.com/phuibonhoa/ruby-on-rails-tmbundle.git Rails.tmbundle`
3. $ `osascript -e 'tell app "TextMate" to reload bundles'`
 
####My Other Textmate Bundles
My bundles work best when use in conjunction with my other bundles:

 * Rails - [http://github.com/phuibonhoa/ruby-on-rails-tmbundle](http://github.com/phuibonhoa/ruby-on-rails-tmbundle)
 * Ruby - [http://github.com/phuibonhoa/ruby-tmbundle](http://github.com/phuibonhoa/ruby-tmbundle)
 * Shoulda - [http://github.com/phuibonhoa/ruby-shoulda-tmbundle](http://github.com/phuibonhoa/ruby-shoulda-tmbundle)
 * HAML - [http://github.com/phuibonhoa/handcrafted-haml-textmate-bundle](http://github.com/phuibonhoa/handcrafted-haml-textmate-bundle)
 * Sass - [http://github.com/phuibonhoa/ruby-sass-tmbundle](http://github.com/phuibonhoa/ruby-sass-tmbundle)
 * JavaScript - [http://github.com/phuibonhoa/Javascript-Bundle-Extension](http://github.com/phuibonhoa/Javascript-Bundle-Extension)
 * CTags - [http://github.com/phuibonhoa/tm-ctags-tmbundle](http://github.com/phuibonhoa/tm-ctags-tmbundle)

##Credits

Additions by [<NAME>](http://github.com/phuibonhoa)


Original bundle and it's contributors can be found [here](http://github.com/drnic/ruby-on-rails-tmbundle)
<commit_msg>Updated readme noting mkdynamic's script<commit_after>#Rails TextMate Bundle

##Description

Features I've added to the bundle include:

####Shoulda Support
 * Full shoulda support WITHOUT having to swap your active bundle.  This allows you to continue using the Rails bundle, but still all the advantages of my Shoulda bundle:
   * syntax highlighting, 
   * ability to run tests and contexts from textmate
   * shoulda snippets and commands
   * <code>⌘⇧+T</code> lists shoulda tests / contexts

####Other Changes
 * <code>⌥+:</code> aligns code (ie if you have a hash on multiple lines, you can easily align all the keys with the first key)
 * <code>⌥⇧+M</code> opens a window of recent migrations with links to open the migration file
 * <code>⌥⇧+L</code> lets you easily  open or tail rails logs (development, test, production) 
 * <code>rest⇥</code> - snippets for rest named routes (you'll never need to pull out that rest cheatsheet again!)
 * <code>⌘⇧+T</code> lists factory names (when file includes Factory Girl definitions)
 * Lots of other rails snippets: Rails.root, asserts, scopes, etc.  
 
##Installation

1. $ `cd ~/Library/Application\ Support/TextMate/Bundles/`
2. $ `git clone git://github.com/phuibonhoa/ruby-on-rails-tmbundle.git Rails.tmbundle`
3. $ `osascript -e 'tell app "TextMate" to reload bundles'`

If you'd like to install all my bundles, check out this [script](http://gist.github.com/443129) written by [mkdynamic](http://github.com/mkdynamic).  It installs all bundles and backups any existing bundles with conflicting names.  Thanks Mark!

####My Other Textmate Bundles
My bundles work best when use in conjunction with my other bundles:

 * Rails - [http://github.com/phuibonhoa/ruby-on-rails-tmbundle](http://github.com/phuibonhoa/ruby-on-rails-tmbundle)
 * Ruby - [http://github.com/phuibonhoa/ruby-tmbundle](http://github.com/phuibonhoa/ruby-tmbundle)
 * Shoulda - [http://github.com/phuibonhoa/ruby-shoulda-tmbundle](http://github.com/phuibonhoa/ruby-shoulda-tmbundle)
 * HAML - [http://github.com/phuibonhoa/handcrafted-haml-textmate-bundle](http://github.com/phuibonhoa/handcrafted-haml-textmate-bundle)
 * Sass - [http://github.com/phuibonhoa/ruby-sass-tmbundle](http://github.com/phuibonhoa/ruby-sass-tmbundle)
 * JavaScript - [http://github.com/phuibonhoa/Javascript-Bundle-Extension](http://github.com/phuibonhoa/Javascript-Bundle-Extension)
 * CTags - [http://github.com/phuibonhoa/tm-ctags-tmbundle](http://github.com/phuibonhoa/tm-ctags-tmbundle)

##Credits

Additions by [<NAME>](http://github.com/phuibonhoa)


Original bundle and it's contributors can be found [here](http://github.com/drnic/ruby-on-rails-tmbundle)

{'fraction_non_alphanumeric': 0.13245163837347018, 'fraction_numerical': 0.002368732727990525, 'mean_word_length': 4.537704918032787, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3560662', 'n_tokens_mistral': 1830, 'n_tokens_neox': 1726, 'n_words': 449}