drnic / ruby-on-rails-tmbundle

Ruby on Rails TextMate bundle [Learn it with PeepCode - http://peepcode.com/products/textmate-for-rails-2]

This URL has Read+Write access

carlosbrando (author)
Thu Nov 12 06:15:19 -0800 2009
commit  d0b425cec41cd09155241fd29b7ceefd6f65d079
tree    57656eda3562d5528d397514149b03296138c4d1
parent  0ee3cf2dd0dfadb33aa20272a9bfa39f99fa0f5e
name age message
file .gitignore Sat Mar 08 08:22:13 -0800 2008 This is a merge from the git repository hosted ... [kevin]
file ABOUT Sat Mar 08 08:22:13 -0800 2008 This is a merge from the git repository hosted ... [kevin]
file CHANGELOG Sun May 11 17:57:07 -0700 2008 fixed CHANGELOG spelling error [CharlieSu] [drnic]
file Capfile Sat Mar 08 08:22:13 -0800 2008 This is a merge from the git repository hosted ... [kevin]
directory Commands/ Wed Sep 23 12:48:59 -0700 2009 makes "Migrate to Previous Version" compatible ... [drnic]
directory DragCommands/ Wed Jun 18 17:10:49 -0700 2008 Simple draggable for ruby files into ruby files... [drnic]
file LICENSE Tue Aug 28 12:08:22 -0700 2007 Renaming bundle to "Ruby on Rails" to conform t... [msheets]
directory Macros/ Tue Jul 22 13:17:12 -0700 2008 Add Change Column Default Macro [brianjlandau]
directory Preferences/ Wed Mar 11 20:47:29 -0700 2009 table names are symbols in schema.db [drnic]
file README.md Wed Sep 23 12:51:25 -0700 2009 starting to collect contributors in README [drnic]
file Rakefile Thu Mar 19 04:54:57 -0700 2009 bumped website to 2.3.0 [drnic]
directory Snippets/ Loading commit data...
directory Support/
directory Syntaxes/ Tue May 05 21:39:36 -0700 2009 Memoize [lawrencepit]
file TODO Sat Mar 08 08:22:13 -0800 2008 This is a merge from the git repository hosted ... [kevin]
directory config/ Sat Mar 08 08:22:13 -0800 2008 This is a merge from the git repository hosted ... [kevin]
file info.plist
directory script/ Fri Apr 03 03:31:14 -0700 2009 oops, wrong tmbundle name used for download fil... [drnic]
directory tasks/ Sat Mar 08 08:22:13 -0800 2008 This is a merge from the git repository hosted ... [kevin]
directory website/ Fri Apr 03 03:31:14 -0700 2009 oops, wrong tmbundle name used for download fil... [drnic]
README.md

TextMate bundle for Ruby on Rails development

To install with Git:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/drnic/ruby-on-rails-tmbundle.git "Ruby on Rails.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

To install without Git:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
wget http://github.com/drnic/ruby-on-rails-tmbundle/tarball/master
tar zxf drnic-ruby-on-rails-tmbundle*.tar.gz
rm drnic-ruby-on-rails-tmbundle*.tar.gz
mv drnic-ruby-on-rails-tmbundle* "Ruby on Rails.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Rails 3.0 contributors

  • Kamil Kukura (rake migrate timestamp patch)

Rails 2.0 features/contributors (copied from CHANGELOG)

  • Snippets/Commands for:
    • Tests
      • assert_select (ass)
      • assert_difference/assert_no_difference (asd/asnd)
      • GET+POST test method stubs (defg+defp)
    • Controllers
      • respond_to (rst)
      • REMOVED: render_component snippets
      • loggers - pass a block instead of raw string to save time if logging not used (e.g. production) [thx Stephen Touset]
      • redirect_to for resource paths (rep, repp, renp, renpp)
      • render :update (ru) [thx Simon Jefford]
    • Views
      • form_for (ff)
      • link_to for resource paths (lip, lipp, linp, linpp)
      • <% end -%> (end)
    • Models
      • has_many :though (hmt)
      • association snippets give better defaults (e.g. bt + hm)
      • validates_format_of (vf,vfif) [thx Dean Strelau]
    • Migrations
      • Sexy Migrations now available as "t." snippets [thx Lawrence Pit]
      • Migration classes have own textmate scope
      • Add/Remove Columns - the 'down' statements are in reverse order [thx Lawrence Pit, Daniel Kristensen]
  • Language/Syntax
    • New keywords: rescue_from
    • Added rb as a valid Rails file type [thx James Deville]
  • Commands
    • html.erb is the default for new templates (backwards compatibility is being worked on too)
  • Plugins
    • Footnote
      • footnote-edge uses .erb for templates [thx Stephen Bannasch]