decodeideas / ruby-on-rails-tmbundle forked from 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

decodeideas (author)
Wed Jun 03 07:33:59 -0700 2009
commit  bf4072e35c920df0437aa90780abef3a69f2712e
tree    e1cc19d080144fd5cde125c05704c9221829eb3f
parent  fd5ec641c2d30a086a2f41eb8c9c4ba20c6af965
ruby-on-rails-tmbundle / README
100644 57 lines (47 sloc) 2.098 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
TextMate bundle for Ruby on Rails development
 
GET IT NOW: with Rails 2.0 support.
 
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 2.0 (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]