Skip to content
This repository
Browse code

This is a merge from the git repository hosted by Dr. Nic

http://github.com/drnic/ruby-on-rails-tmbundle/commit/7edadd1

== 1.90.0 2008-03-08

* Major Upgrade to Rails 2.0 - Initial release
* Ruby on Rails bundle maintenance has been taken over by Dr Nic Williams from its initial legendary creator Duane Johnson.
* Added so far:
  * Snippets/Commands for:
    * Tests
      * assert_select (ass)
      * assert_difference/assert_no_difference (asd/asnd)
      * GET+POST test method stubs (deftg+deftp)
      * posts(:) + Alt+Esc allows you to select a posts.yml fixture
    * Controllers
      * respond_to (rest) and respond_to(html) (Shift+Cmd+H)
      * 'Go To View' within a respond_to will use the format/wants type as the default
      * REMOVED: render_component snippets
      * loggers - pass a block instead of raw string to save time if
        logging not used (e.g. production) [Stephen Touset]
      * redirect_to for resource paths (rep, repp, renp, renpp)
      * render :update (ru) [Simon Jefford]
    * Views
      * form_for and form_for(with errors) (ff,ffe)
      * Various form_for helpers in a drop-down list, e.g. f.text_field (f.)
      * Various form_for helpers with own tab completion, e.g. f.text_field (fftf)
      * link_to for resource paths (lip, lipp, linp, linpp)
      * <% end -%> (end)
      * for-loop (for)
      * link_to(@model.name, @model) (ltm)
    * Layouts
      * javascript_include_tag - jit
      * stylesheet_link_tag - slt
    * Models
      * has_many :though (hmt)
      * association snippets give better defaults (e.g. bt + hm)
      * validates_format_of (vf,vfif) [Dean Strelau]
      * validates_numericality_of (vn,vnif) [Tom Morris]
      * before/after callbacks (prefix bef/aft + 1st letter of words) [Sam Granieri]
    * Migrations
      * Sexy Migrations now available as "t." snippets and regular snippets [Lawrence Pit]
      * Migration classes have own textmate scope
      * Add/Remove Columns - the 'down' statements are in reverse
        order [Lawrence Pit, Daniel Kristensen]
      * Added 'Redo Last Migration' [Simon Jefford]
    * Functional Tests
      * assert_redirect_to for resource paths (artp, artpp, artnp, artnpp)
      * assert(assigns(:model)) (asg)
    * Routes
      * named routes, resources snippets (map, mapr, maprs)
      * catch_all (mapca) [Sam Granieri]
    * Active Support
      * cattr_accessor/mattr_accessor (crw/mrw) [Jacob Swanner]
      * returning (returning) [Jacob Swanner]
  * Language/Syntax
    * New keywords: rescue_from, alias_method_chain, alias_attribute, delegate, respond_to [David Lowenfels, Jacob Swanner]
    * Added rb as a valid Rails file type [James Deville]
  * Commands
    * Auto-completion for Foxy Fixtures
    * html.erb is the default for new templates (backwards compatibility
      is being worked on too)
    * 'Go To XXX' - available for wide range of permutations.
      Fixtures -> Models; Models -> Controllers, etc
    * haml is a valid file extension [Steve Ross]
    * specify alternate default file extensions for: [Steve Ross]
      * javascript - ENV['RAILS_JS_EXT']
      * stylesheet - ENV['RAILS_CSS_EXT']
      * view - ENV['RAILS_VIEW_EXT']
    * 'Call Generate Script' now accesses all a project's generators
  * Plugins
    * Footnote
      * footnote-edge uses .erb for templates [Stephen Bannasch]
  * Internals
    * Rakefile - test runner [Steve Ross]
    * Added generator_test
    * Removed unnecessary misc_test
    * script/clean_bundle_file_names - rename non-os-agnostic file names [Charles Roper]
  * Haml support [Lawrence Pit]

For thoughts and patches, email drnicwilliams@gmail.com


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9069 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
commit a89dcbfd6bb37f827df2c792d340f16ba20fbd8b 1 parent bb24cf7
authored March 08, 2008

Showing 287 changed files with 8,612 additions and 1,054 deletions. Show diff stats Hide diff stats

  1. 3  .gitignore
  2. 30  ABOUT
  3. 82  CHANGELOG
  4. 3  Capfile
  5. 25  Commands/Autocomplete Foreign Key Fixture Reference (habtm).tmCommand
  6. 25  Commands/Autocomplete Foreign Key Fixture Reference.tmCommand
  7. 2  Commands/Go To Alternate File.plist
  8. 2  Commands/Go To File on This Line.plist
  9. 2  Commands/Go To File.plist
  10. 2  Commands/Go To Functional Test.plist
  11. 2  Commands/Go To Helper.plist
  12. 2  Commands/Go To Javascript.plist
  13. 23  Commands/Go To Model.tmCommand
  14. 2  Commands/Go To Stylesheet.plist
  15. 2  Commands/Go To Unit Test.plist
  16. 4  Commands/Go To View.plist
  17. 23  Commands/Go to Fixture.tmCommand
  18. 2  Commands/Make Selection in to Partial.plist
  19. 24  Commands/Redo Last Migration.tmCommand
  20. 34  Commands/Show DB Schema.tmCommand
  21. 13  Commands/{Intelligent Go To File.plist → Test All.tmCommand}
  22. 23  Commands/Test Functionals.tmCommand
  23. 23  Commands/Test Integration.tmCommand
  24. 23  Commands/Test Plugins.tmCommand
  25. 23  Commands/Test Recent.tmCommand
  26. 23  Commands/Test Uncommitted.tmCommand
  27. 23  Commands/Test Units.tmCommand
  28. 27  Commands/View demo help.tmCommand
  29. 2  Macros/{Add : Remove Column.tmMacro → Add %3A Remove Column.tmMacro}
  30. 2  Macros/{Add : Remove Index.tmMacro → Add %3A Remove Index.tmMacro}
  31. 2  Macros/{Add : Remove Named Index.tmMacro → Add %3A Remove Named Index.tmMacro}
  32. 2  Macros/{Add : Remove Several Columns (marcc).tmMacro → Add %3A Remove Several Columns (marcc).tmMacro}
  33. 2  Macros/{Add : Remove Several Columns.tmMacro → Add %3A Remove Several Columns.tmMacro}
  34. 2  Macros/{Add : Remove Unique Index.tmMacro → Add %3A Remove Unique Index.tmMacro}
  35. 2  Macros/{Create : Drop Table.tmMacro → Create %3A Drop Table.tmMacro}
  36. 2  Macros/{Drop : Create Table.tmMacro → Drop %3A Create Table.tmMacro}
  37. 2  Macros/{Remove : Add Column.tmMacro → Remove %3A Add Column.tmMacro}
  38. 2  ...os/{Rename : Rename Several Columns (mncc).tmMacro → Rename %3A Rename Several Columns (mncc).tmMacro}
  39. 2  Macros/{Rename : Rename Several Columns.tmMacro → Rename %3A Rename Several Columns.tmMacro}
  40. 2  Macros/Rename Column.tmMacro
  41. 2  Macros/Rename Table.tmMacro
  42. 48  Preferences/Template (ERB).tmPreferences
  43. 48  Preferences/Template (Haml).tmPreferences
  44. 38  README
  45. 19  Rakefile
  46. 16  Snippets/$LABEL.tmSnippet
  47. 16  Snippets/%3C%= Fixtures_identify(%3Asymbol) %%3E.tmSnippet
  48. 6  Snippets/180 rails form_tag.plist
  49. 17  Snippets/Create binary column.tmSnippet
  50. 17  Snippets/Create boolean column.tmSnippet
  51. 25  Snippets/Create controller class.tmSnippet
  52. 17  Snippets/Create date column.tmSnippet
  53. 17  Snippets/Create datetime column.tmSnippet
  54. 17  Snippets/Create decimal column.tmSnippet
  55. 17  Snippets/Create float column.tmSnippet
  56. 21  Snippets/Create functional test class.tmSnippet
  57. 17  Snippets/Create integer column.tmSnippet
  58. 17  Snippets/Create lock_version column.tmSnippet
  59. 17  Snippets/Create references column.tmSnippet
  60. 17  Snippets/Create string column.tmSnippet
  61. 17  Snippets/Create text column.tmSnippet
  62. 17  Snippets/Create time column.tmSnippet
  63. 17  Snippets/Create timestamp column.tmSnippet
  64. 17  Snippets/Create timestamps columns.tmSnippet
  65. 5  Snippets/Migration Create Column (mcc).plist
  66. 6  Snippets/Migration Create Column Continue (mccc).plist
  67. 2  Snippets/Migration Drop Create Table (mdct).plist
  68. 2  Snippets/Migration Remove and Add Column (mrac).plist
  69. 16  Snippets/after_create.tmSnippet
  70. 16  Snippets/after_destroy.tmSnippet
  71. 16  Snippets/after_save.tmSnippet
  72. 16  Snippets/after_update.tmSnippet
  73. 16  Snippets/after_validation.tmSnippet
  74. 16  Snippets/after_validation_on_create.tmSnippet
  75. 16  Snippets/after_validation_on_update.tmSnippet
  76. 17  Snippets/assert(var = assigns(%3Avar)).tmSnippet
  77. 18  Snippets/assert_difference.tmSnippet
  78. 18  Snippets/assert_no_difference.tmSnippet
  79. 16  Snippets/assert_redirected_to (nested path plural).tmSnippet
  80. 16  Snippets/assert_redirected_to (nested path).tmSnippet
  81. 16  Snippets/assert_redirected_to (path plural).tmSnippet
  82. 16  Snippets/assert_redirected_to (path).tmSnippet
  83. 8  Snippets/{Rename Table.tmSnippet → assert_rjs.tmSnippet}
  84. 18  Snippets/assert_select.tmSnippet
  85. 16  Snippets/before_create.tmSnippet
  86. 16  Snippets/before_destroy.tmSnippet
  87. 16  Snippets/before_save.tmSnippet
  88. 16  Snippets/before_update.tmSnippet
  89. 16  Snippets/before_validation.tmSnippet
  90. 16  Snippets/before_validation_on_create.tmSnippet
  91. 16  Snippets/before_validation_on_update.tmSnippet
  92. 4  Snippets/belongs_to (bt).plist
  93. 16  Snippets/cattr_accessor.tmSnippet
  94. 30  Snippets/def create - resource.tmSnippet
  95. 21  Snippets/def get request.tmSnippet
  96. 21  Snippets/def post request.tmSnippet
  97. 16  Snippets/end.tmSnippet
  98. 16  Snippets/find(%3Aall).tmSnippet
  99. 16  Snippets/find(%3Afirst).tmSnippet
  100. 16  Snippets/find(id).tmSnippet
  101. 23  Snippets/for loop erb.tmSnippet
  102. 23  Snippets/for loop in rhtml.tmSnippet
  103. 16  Snippets/form_for check_box.tmSnippet
  104. 16  Snippets/form_for checkbox.tmSnippet
  105. 16  Snippets/form_for file_field 2.tmSnippet
  106. 16  Snippets/form_for file_field.tmSnippet
  107. 16  Snippets/form_for hidden_field 2.tmSnippet
  108. 16  Snippets/form_for hidden_field.tmSnippet
  109. 16  Snippets/form_for label 2.tmSnippet
  110. 16  Snippets/form_for label.tmSnippet
  111. 16  Snippets/form_for password_field 2.tmSnippet
  112. 16  Snippets/form_for password_field.tmSnippet
  113. 16  Snippets/form_for radio_box 2.tmSnippet
  114. 16  Snippets/form_for radio_box.tmSnippet
  115. 16  Snippets/form_for submit 2.tmSnippet
  116. 16  Snippets/form_for submit.tmSnippet
  117. 16  Snippets/form_for text_area 2.tmSnippet
  118. 16  Snippets/form_for text_area.tmSnippet
  119. 16  Snippets/form_for text_field 2.tmSnippet
  120. 16  Snippets/form_for text_field.tmSnippet
  121. 20  Snippets/form_for with errors.tmSnippet
  122. 18  Snippets/form_for.tmSnippet
  123. 2  Snippets/has_many (hm).plist
  124. 16  Snippets/has_many (through).tmSnippet
  125. 4  Snippets/has_one (ho).plist
  126. 16  Snippets/image_submit_tag.tmSnippet
  127. 16  Snippets/javascript_include_tag.tmSnippet
  128. 4  Snippets/lia.plist
  129. 4  Snippets/liai.plist
  130. 4  Snippets/lic.plist
  131. 4  Snippets/lica.plist
  132. 4  Snippets/licai.plist
  133. 16  Snippets/link_to (nested path plural).tmSnippet
  134. 16  Snippets/link_to (nested path).tmSnippet
  135. 16  Snippets/link_to (path plural).tmSnippet
  136. 16  Snippets/link_to (path).tmSnippet
  137. 16  Snippets/link_to model.tmSnippet
  138. 4  Snippets/logger_debug.tmSnippet
  139. 4  Snippets/logger_error.tmSnippet
  140. 4  Snippets/logger_fatal.tmSnippet
  141. 4  Snippets/logger_info.tmSnippet
  142. 4  Snippets/logger_warn.tmSnippet
  143. 0  Snippets/{map(&:sym_proc).tmSnippet → map(&%3Asym_proc).tmSnippet}
  144. 17  Snippets/map_catch_all.tmSnippet
  145. 16  Snippets/map_named_route.tmSnippet
  146. 18  Snippets/map_resource.tmSnippet
  147. 18  Snippets/map_resources.tmSnippet
  148. 19  Snippets/map_with_options.tmSnippet
  149. 16  Snippets/mattr_accessor.tmSnippet
  150. 16  Snippets/page_hide (%2Aids).tmSnippet
  151. 16  Snippets/page_insert_html (position, id, partial).tmSnippet
  152. 16  Snippets/page_replace (id, partial).tmSnippet
  153. 16  Snippets/page_replace_html (id, partial).tmSnippet
  154. 16  Snippets/page_show (%2Aids).tmSnippet
  155. 16  Snippets/page_toggle (%2Aids).tmSnippet
  156. 16  Snippets/page_visual_effect (effect, id).tmSnippet
  157. 16  Snippets/rcea.plist
  158. 16  Snippets/rcec.plist
  159. 16  Snippets/rceca.plist
  160. 16  Snippets/redirect_to (nested path plural).tmSnippet
  161. 16  Snippets/redirect_to (nested path).tmSnippet
  162. 10  Snippets/{Migration Create Table (mct).plist → redirect_to (path plural).tmSnippet}
  163. 16  Snippets/redirect_to (path).tmSnippet
  164. 4  Snippets/render (partial,collection) (rpc).plist
  165. 4  Snippets/render (partial,locals) (rpl).plist
  166. 4  Snippets/render (partial,object) (rpo).plist
  167. 0  Snippets/{render (text,layout=>true) (rtlt).plist → render (text,layout=%3Etrue) (rtlt).plist}
  168. 18  Snippets/render (update).tmSnippet
  169. 21  Snippets/respond_to (html).tmSnippet
  170. 18  Snippets/respond_to.tmSnippet
  171. 18  Snippets/returning do %7Cvariable%7C %E2%80%A6 end.tmSnippet
  172. 16  Snippets/stylesheet_link_tag.tmSnippet
  173. 16  Snippets/submit_tag.tmSnippet
  174. 17  Snippets/t_binary (tcbi).tmSnippet
  175. 17  Snippets/t_boolean (tcb).tmSnippet
  176. 17  Snippets/t_date (tcda).tmSnippet
  177. 17  Snippets/t_datetime (tcdt).tmSnippet
  178. 17  Snippets/t_decimal (tcd).tmSnippet
  179. 17  Snippets/t_float (tcf).tmSnippet
  180. 17  Snippets/t_integer (tci).tmSnippet
  181. 17  Snippets/t_lock_version (tcl).tmSnippet
  182. 17  Snippets/t_references (tcr).tmSnippet
  183. 17  Snippets/t_string (tcs).tmSnippet
  184. 17  Snippets/t_text (tct).tmSnippet
  185. 17  Snippets/t_time (tcti).tmSnippet
  186. 17  Snippets/t_timestamp (tcts).tmSnippet
  187. 17  Snippets/t_timestamps (tctss).tmSnippet
  188. 2  Snippets/validates_exclusion_of (ve).plist
  189. 2  Snippets/validates_exclusion_of if (veif).plist
  190. 16  Snippets/validates_format_of if.tmSnippet
  191. 16  Snippets/validates_format_of.tmSnippet
  192. 16  Snippets/validates_inclusion_of if.tmSnippet
  193. 16  Snippets/validates_inclusion_of.tmSnippet
  194. 16  Snippets/validates_length_of if.tmSnippet
  195. 16  Snippets/validates_numericality_of if.tmSnippet
  196. 16  Snippets/validates_numericality_of.tmSnippet
  197. 2  Snippets/validates_presence_of (vp).plist
  198. 16  Snippets/wants_format.tmSnippet
  199. 8  Snippets/{Rename Column.tmSnippet → xhr delete.tmSnippet}
  200. 8  Snippets/{Migration Remove Column (mrc).plist → xhr get.tmSnippet}
  201. 8  Snippets/{Migration Add Column (mac).plist → xhr post.tmSnippet}
  202. 9  Snippets/{Migration Drop Table (mdt).plist → xhr put.tmSnippet}
  203. 5  Support/bin/create_partial_from_selection.rb
  204. 78  Support/bin/fixture_auto_complete.rb
  205. 54  Support/bin/generate.rb
  206. 4  Support/bin/generate_quick_migration.rb
  207. 48  Support/bin/go_to_alternate_file.rb
  208. 132  Support/bin/go_to_file_on_current_line.rb
  209. 32  Support/bin/insert_add_column_or_create_table.rb
  210. 248  Support/bin/intelligent_go_to_file.rb
  211. 41  Support/bin/intelligent_migration_snippet.rb
  212. 2  Support/bin/rake_helper.rb
  213. 35  Support/bin/show_schema.rb
  214. 32  Support/lib/rails/buffer.rb
  215. 187  Support/lib/rails/command_go_to_file.rb
  216. 56  Support/lib/rails/generate.rb
  217. 53  Support/lib/rails/inflections.rb
  218. 282  Support/lib/rails/inflector.rb
  219. 6  Support/lib/rails/misc.rb
  220. 230  Support/lib/rails/rails_path.rb
  221. 24  Support/lib/rails/text_mate.rb
  222. 8  Support/lib/rails_bundle_tools.rb
  223. 2  Support/plugins/footnotes-edge/init.rb
  224. 7  Support/plugins/footnotes-edge/lib/textmate_backtracer.rb
  225. 58  Support/plugins/footnotes-edge/lib/textmate_footnotes.rb
  226. 4  Support/plugins/footnotes-edge/templates/rescues/{template_error.rhtml → template_error.erb}
  227. 18  Support/plugins/footnotes-edge/test/mock_controller.rb
  228. 24  Support/plugins/footnotes-edge/test/textmate_footnotes_test.rb
  229. 2  Support/plugins/footnotes/init.rb
  230. 5  Support/plugins/footnotes/lib/textmate_backtracer.rb
  231. 60  Support/plugins/footnotes/lib/textmate_footnotes.rb
  232. 18  Support/plugins/footnotes/test/mock_controller.rb
  233. 24  Support/plugins/footnotes/test/textmate_footnotes_test.rb
  234. 2  Support/test/{fixtures → app_fixtures}/app/controllers/admin/base_controller.rb
  235. 24  Support/test/app_fixtures/app/controllers/posts_controller.rb
  236. 2  Support/test/{fixtures → app_fixtures}/app/controllers/user_controller.rb
  237. 31  Support/test/app_fixtures/app/controllers/users_controller.rb
  238. 0  Support/test/{fixtures → app_fixtures}/app/helpers/user_helper.rb
  239. 0  Support/test/{fixtures → app_fixtures}/app/models/notifier.rb
  240. 2  Support/test/app_fixtures/app/models/person.rb
  241. 0  Support/test/{fixtures → app_fixtures}/app/models/user.rb
  242. 0  .../test/{fixtures/app/views/admin/base/action.rhtml → app_fixtures/app/views/admin/base/action.html.erb}
  243. 0  ...s/app/views/notifier/forgot_password.rhtml → app_fixtures/app/views/notifier/forgot_password.html.erb}
  244. 0  Support/test/{fixtures → app_fixtures}/app/views/user/new.rhtml
  245. 0  Support/test/app_fixtures/app/views/users/create.html.erb
  246. 1  Support/test/app_fixtures/app/views/users/existing_views.html.erb
  247. 1  Support/test/app_fixtures/app/views/users/existing_views.js.rjs
  248. 1  Support/test/app_fixtures/app/views/users/existing_views.wacky.erb
  249. 1  Support/test/app_fixtures/app/views/users/existing_views.xml.builder
  250. 0  Support/test/app_fixtures/app/views/users/new.html.erb
  251. 109  Support/test/app_fixtures/config/boot.rb
  252. 109  Support/test/app_fixtures/config/environment.rb
  253. 3  Support/test/app_fixtures/script/generate
  254. 83  Support/test/buffer_test.rb
  255. 24  Support/test/fixtures/app/controllers/posts_controller.rb
  256. 0  Support/test/fixtures/vendor/plugins/haml/init.rb
  257. 29  Support/test/generator_test.rb
  258. 5  Support/test/misc_test.rb
  259. 234  Support/test/rails_path_test.rb
  260. 10  Support/test/test_helper.rb
  261. 22  Support/test/text_mate_mock.rb
  262. 1  Support/test/text_mate_test.rb
  263. 82  Syntaxes/JavaScript (Rails).tmLanguage
  264. 25  Syntaxes/RJS.tmLanguage
  265. 70  Syntaxes/Ruby on Rails.plist
  266. 3  Syntaxes/SQL (Rails).plist
  267. 11  TODO
  268. 6  config/deploy.rb
  269. 3  config/slicehost.yml.sample
  270. 2  config/website.yml.sample
  271. 620  info.plist
  272. 46  script/clean_bundle_file_names
  273. 14  script/destroy
  274. 14  script/generate
  275. 97  script/txt2html
  276. 9  tasks/dist.rake
  277. 35  tasks/website.rake
  278. 1,016  website/demo.html
  279. 738  website/demo.txt
  280. BIN  website/images/logo_bundle.png
  281. 99  website/index.html
  282. 31  website/index.txt
  283. 285  website/javascripts/rounded_corners_lite.inc.js
  284. 520  website/peepcode.html
  285. 327  website/peepcode.txt
  286. 177  website/stylesheets/screen.css
  287. 60  website/template.html.erb
3  .gitignore
... ...
@@ -0,0 +1,3 @@
  1
+config/*.yml
  2
+website/dist
  3
+.DS_Store
30  ABOUT
... ...
@@ -1,10 +1,36 @@
1  
-== Rails Bundle 1.0
  1
+== Rails Bundle 1.0 -> 2.0 SOON
2 2
 This bundle is (c) 2006 syncPEOPLE, LLC.
3 3
 As of version 1.0, it is distributed under the terms of the MIT License.
4 4
 
5 5
 http://syncpeople.com/ - We develop social interaction tools for online and real-world conferences and events.
6 6
 
7  
-== Author(s) ==
  7
+== Maintained by ==
  8
+Dr Nic Williams
  9
+drnicwilliams@gmail.com
  10
+http://drnicwilliams.com
  11
+
  12
+== Created by ==
8 13
 Duane Johnson
9 14
 duane.johnson@gmail.com
10 15
 http://blog.inquirylabs.com/
  16
+
  17
+== Contributors (no doubt missing many) ==
  18
+Sami Samhuri
  19
+James Edward Grey II
  20
+Michael Sheets
  21
+Allan Odgaard
  22
+Cliff Matthews
  23
+Kent Siblev
  24
+Stephen Touset
  25
+Lawrence Pit
  26
+Dean Strelau
  27
+Daniel Kristensen
  28
+Simon Jefford
  29
+James Deville
  30
+Stephen Bannasch
  31
+Tom Morris
  32
+David Lowenfels
  33
+Sam Granieri
  34
+Jacob Swanner
  35
+Steve Ross
  36
+Charles Roper
82  CHANGELOG
... ...
@@ -1,3 +1,85 @@
  1
+[Edge] Trundle to Rails 2.0 Bundle
  2
+Ruby on Rails bundle maintenance has been taken over by Dr Nic Williams from its initial legendary creator Duane Johnson.
  3
+See git branch two_point_ooh for initial drive to upgrade bundle for Rails 2.0 conventions (http://github.com/drnic/ruby-on-rails-tmbundle/tree/two_point_ooh)
  4
+
  5
+Added so far:
  6
+  * Snippets/Commands for:
  7
+    * Tests
  8
+      * assert_select (ass)
  9
+      * assert_difference/assert_no_difference (asd/asnd)
  10
+      * GET+POST test method stubs (deftg+deftp)
  11
+      * posts(:) + Alt+Esc allows you to select a posts.yml fixture
  12
+    * Controllers
  13
+      * respond_to (rest) and respond_to(html) (Shift+Cmd+H)
  14
+      * 'Go To View' within a respond_to will use the format/wants type as the default
  15
+      * REMOVED: render_component snippets
  16
+      * loggers - pass a block instead of raw string to save time if
  17
+        logging not used (e.g. production) [Stephen Touset]
  18
+      * redirect_to for resource paths (rep, repp, renp, renpp)
  19
+      * render :update (ru) [Simon Jefford]
  20
+    * Views
  21
+      * form_for and form_for(with errors) (ff,ffe)
  22
+      * Various form_for helpers in a drop-down list, e.g. f.text_field (f.)
  23
+      * Various form_for helpers with own tab completion, e.g. f.text_field (fftf)
  24
+      * link_to for resource paths (lip, lipp, linp, linpp)
  25
+      * <% end -%> (end)
  26
+      * for-loop (for)
  27
+      * link_to(@model.name, @model) (ltm)
  28
+    * Layouts
  29
+      * javascript_include_tag - jit
  30
+      * stylesheet_link_tag - slt
  31
+    * Models
  32
+      * has_many :though (hmt)
  33
+      * association snippets give better defaults (e.g. bt + hm)
  34
+      * validates_format_of (vf,vfif) [Dean Strelau]
  35
+      * validates_numericality_of (vn,vnif) [Tom Morris]
  36
+      * before/after callbacks (prefix bef/aft + 1st letter of words) [Sam Granieri]
  37
+    * Migrations
  38
+      * Sexy Migrations now available as "t." snippets and regular snippets [Lawrence Pit]
  39
+      * Migration classes have own textmate scope
  40
+      * Add/Remove Columns - the 'down' statements are in reverse
  41
+        order [Lawrence Pit, Daniel Kristensen]
  42
+      * Added 'Redo Last Migration' [Simon Jefford]
  43
+    * Functional Tests
  44
+      * assert_redirect_to for resource paths (artp, artpp, artnp, artnpp)
  45
+      * assert(assigns(:model)) (asg)
  46
+    * Routes
  47
+      * named routes, resources snippets (map, mapr, maprs)
  48
+      * catch_all (mapca) [Sam Granieri]
  49
+    * Active Support
  50
+      * cattr_accessor/mattr_accessor (crw/mrw) [Jacob Swanner]
  51
+      * returning (returning) [Jacob Swanner]
  52
+  * Language/Syntax
  53
+    * New keywords: rescue_from, alias_method_chain, alias_attribute, delegate, respond_to [David Lowenfels, Jacob Swanner]
  54
+    * Added rb as a valid Rails file type [James Deville]
  55
+  * Commands
  56
+    * Auto-completion for Foxy Fixtures
  57
+    * html.erb is the default for new templates (backwards compatibility
  58
+      is being worked on too)
  59
+    * 'Go To XXX' - available for wide range of permutations.
  60
+      Fixtures -> Models; Models -> Controllers, etc
  61
+    * haml is a valid file extension [Steve Ross]
  62
+    * specify alternate default file extensions for: [Steve Ross]
  63
+      * javascript - ENV['RAILS_JS_EXT']
  64
+      * stylesheet - ENV['RAILS_CSS_EXT']
  65
+      * view - ENV['RAILS_VIEW_EXT']
  66
+    * 'Call Generate Script' now accesses all a project's generators
  67
+  * Plugins
  68
+    * Footnote
  69
+      * footnote-edge uses .erb for templates [Stephen Bannasch]
  70
+  * Internals
  71
+    * Rakefile - test runner [Steve Ross]
  72
+    * Added generator_test
  73
+    * Removed unnecessary misc_test
  74
+    * script/clean_bundle_file_names - rename non-os-agnostic file names [Charles Roper]
  75
+  * Haml support [Lawrence Pit]
  76
+
  77
+For thoughts and patches, email drnicwilliams@gmail.com
  78
+
  79
+* BLACKHOLE OF CHANGELOG *
  80
+...
  81
+
  82
+* END OF BLACKHOLE *
1 83
 2006-09-28 Added "Rake Migrate to Version", changed "rake migrate" to "rake db:migrate" to remove warning message.
2 84
 2006-02-22 Changed key bindings to TextMate conventions (http://macromates.com/textmate/manual/key_bindings#conventions)
3 85
 2006-02-22 Footnotes can be turned off for specific pages:
3  Capfile
... ...
@@ -0,0 +1,3 @@
  1
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
  2
+Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
  3
+load 'config/deploy'
25  Commands/Autocomplete Foreign Key Fixture Reference (habtm).tmCommand
... ...
@@ -0,0 +1,25 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" "${TM_BUNDLE_SUPPORT}/bin/fixture_auto_complete.rb" preserve</string>
  10
+	<key>fallbackInput</key>
  11
+	<string>line</string>
  12
+	<key>input</key>
  13
+	<string>selection</string>
  14
+	<key>keyEquivalent</key>
  15
+	<string>~$</string>
  16
+	<key>name</key>
  17
+	<string>Autocomplete Foreign Key Fixture Reference (habtm)</string>
  18
+	<key>output</key>
  19
+	<string>insertAsSnippet</string>
  20
+	<key>scope</key>
  21
+	<string>source.yaml</string>
  22
+	<key>uuid</key>
  23
+	<string>275C0B86-F735-49B6-8A22-218A8F4CC2E0</string>
  24
+</dict>
  25
+</plist>
25  Commands/Autocomplete Foreign Key Fixture Reference.tmCommand
... ...
@@ -0,0 +1,25 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/fixture_auto_complete.rb" </string>
  10
+	<key>fallbackInput</key>
  11
+	<string>line</string>
  12
+	<key>input</key>
  13
+	<string>selection</string>
  14
+	<key>keyEquivalent</key>
  15
+	<string>~</string>
  16
+	<key>name</key>
  17
+	<string>Autocomplete Foreign Key Fixture Reference</string>
  18
+	<key>output</key>
  19
+	<string>insertAsSnippet</string>
  20
+	<key>scope</key>
  21
+	<string>source.yaml, meta.rails.unit_test, meta.rails.functional_test</string>
  22
+	<key>uuid</key>
  23
+	<string>0BCF0EE2-35EE-4959-A771-E74D55271D5A</string>
  24
+</dict>
  25
+</plist>
2  Commands/Go To Alternate File.plist
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.helper, meta.rails.functional_test, source.js, source.css</string>
  19
+	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.helper, meta.rails.functional_test, source.js, source.css, source.yaml, meta.rails.model, meta.rails.unit_test, text.haml</string>
20 20
 	<key>uuid</key>
21 21
 	<string>9453F0B3-B946-445F-BDB0-B01DE70732FC</string>
22 22
 </dict>
2  Commands/Go To File on This Line.plist
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html</string>
  19
+	<string>source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html, text.haml</string>
20 20
 	<key>uuid</key>
21 21
 	<string>09BB96F2-75FD-48A7-8314-B5B56B09B477</string>
22 22
 </dict>
2  Commands/Go To File.plist
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html</string>
  19
+	<string>source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html, source.yaml, text.haml, source.css, source.js, source.sass</string>
20 20
 	<key>uuid</key>
21 21
 	<string>0CCC8443-40F3-4BAB-9440-D737562B5F45</string>
22 22
 </dict>
2  Commands/Go To Functional Test.plist
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>meta.rails.controller</string>
  19
+	<string>meta.rails.controller, meta.rails.helper, meta.rails.model, source.yaml, meta.rails.unit_test</string>
20 20
 	<key>uuid</key>
21 21
 	<string>DFE393BE-0764-49FE-B464-6350A50921E6</string>
22 22
 </dict>
2  Commands/Go To Helper.plist
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.unit_test</string>
  19
+	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.model, meta.rails.unit_test, meta.rails.functional_test, text.haml</string>
20 20
 	<key>uuid</key>
21 21
 	<string>51C9C27A-D931-49F9-B6D8-C0E7ABEC992D</string>
22 22
 </dict>
2  Commands/Go To Javascript.plist
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.helper</string>
  19
+	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.helper, text.haml</string>
20 20
 	<key>uuid</key>
21 21
 	<string>B078346F-61D8-4E75-9427-80720FBC67F7</string>
22 22
 </dict>
23  Commands/Go To Model.tmCommand
... ...
@@ -0,0 +1,23 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" model</string>
  10
+	<key>input</key>
  11
+	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>~$@</string>
  14
+	<key>name</key>
  15
+	<string>Go to Model</string>
  16
+	<key>output</key>
  17
+	<string>showAsTooltip</string>
  18
+	<key>scope</key>
  19
+	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.helper, meta.rails.unit_test, source.js, source.css, source.yaml, meta.rails.controller, meta.rails.functional_test, text.haml</string>
  20
+	<key>uuid</key>
  21
+	<string>C7151BF3-7068-4344-9B09-86F3BF4A9C63</string>
  22
+</dict>
  23
+</plist>
2  Commands/Go To Stylesheet.plist
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.helper</string>
  19
+	<string>text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.helper, text.haml</string>
20 20
 	<key>uuid</key>
21 21
 	<string>B207BBD4-D6AA-41E9-9530-27210F2D7B66</string>
22 22
 </dict>
2  Commands/Go To Unit Test.plist
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>meta.rails.model, meta.rails.helper</string>
  19
+	<string>meta.rails.controller, meta.rails.helper, meta.rails.model, meta.rails.functional_test, source.yaml</string>
20 20
 	<key>uuid</key>
21 21
 	<string>BDBB15A4-2824-4BEC-93A5-7475F9C46A39</string>
22 22
 </dict>
4  Commands/Go To View.plist
... ...
@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2  
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 3
 <plist version="1.0">
4 4
 <dict>
5 5
 	<key>beforeRunningCommand</key>
@@ -16,7 +16,7 @@
16 16
 	<key>output</key>
17 17
 	<string>showAsTooltip</string>
18 18
 	<key>scope</key>
19  
-	<string>meta.rails.controller, meta.rails.mailer, source.js, source.css, meta.rails.functional_test</string>
  19
+	<string>meta.rails.controller, meta.rails.mailer, source.js, source.css</string>
20 20
 	<key>uuid</key>
21 21
 	<string>EE862691-A624-4797-90CF-EDD39EFB2D8E</string>
22 22
 </dict>
23  Commands/Go to Fixture.tmCommand
... ...
@@ -0,0 +1,23 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" fixture</string>
  10
+	<key>input</key>
  11
+	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>~$@</string>
  14
+	<key>name</key>
  15
+	<string>Go to Fixture</string>
  16
+	<key>output</key>
  17
+	<string>showAsTooltip</string>
  18
+	<key>scope</key>
  19
+	<string>meta.rails.controller, meta.rails.helper, meta.rails.model, meta.rails.unit_test, meta.rails.functional_test</string>
  20
+	<key>uuid</key>
  21
+	<string>638D94A4-BDFC-4FE9-8909-9934F3FD2899</string>
  22
+</dict>
  23
+</plist>
2  Commands/Make Selection in to Partial.plist
@@ -19,7 +19,7 @@
19 19
 	<key>output</key>
20 20
 	<string>replaceSelectedText</string>
21 21
 	<key>scope</key>
22  
-	<string>source.ruby.rails, text.html.ruby</string>
  22
+	<string>source.ruby.rails, text.html.ruby, text.haml</string>
23 23
 	<key>uuid</key>
24 24
 	<string>1DD8A214-1C97-45BA-ADEE-8F888DDE8570</string>
25 25
 </dict>
24  Commands/Redo Last Migration.tmCommand
... ...
@@ -0,0 +1,24 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" db:migrate:redo
  10
+</string>
  11
+	<key>input</key>
  12
+	<string>none</string>
  13
+	<key>keyEquivalent</key>
  14
+	<string>^|</string>
  15
+	<key>name</key>
  16
+	<string>Redo Last Migration</string>
  17
+	<key>output</key>
  18
+	<string>showAsHTML</string>
  19
+	<key>scope</key>
  20
+	<string>source.ruby.rails, source.yaml</string>
  21
+	<key>uuid</key>
  22
+	<string>CFDA9F62-D071-4E0F-AD10-66AE0729FFCF</string>
  23
+</dict>
  24
+</plist>
34  Commands/Show DB Schema.tmCommand
... ...
@@ -1,40 +1,12 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2  
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 3
 <plist version="1.0">
4 4
 <dict>
5 5
 	<key>beforeRunningCommand</key>
6 6
 	<string>nop</string>
7 7
 	<key>command</key>
8  
-	<string>#!/usr/bin/env ruby
9  
-
10  
-require "#{ENV['TM_SUPPORT_PATH']}/lib/progress"
11  
-TextMate.call_with_progress(:title =&gt; "Contacting SQL Server", :message =&gt; "Fetching database schema…") do
12  
-
13  
-  project = ENV['TM_PROJECT_DIRECTORY']
14  
-  word = ENV['TM_CURRENT_WORD']
15  
-
16  
-  require "#{project}/config/boot"
17  
-  require "#{project}/config/environment"
18  
-
19  
-  klass = Object.const_get(word) rescue nil
20  
-  if klass and klass.class == Class and klass.ancestors.include?(ActiveRecord::Base)
21  
-    columns = klass.columns_hash
22  
-
23  
-    data = []
24  
-    data += [%w[column primary sql_type default]]
25  
-    data += [%w[------ ------- -------- -------]]
26  
-    data += columns.collect { |col, attrs| [col, attrs.primary.to_s, attrs.sql_type.to_s, attrs.default.to_s] }
27  
-
28  
-    STDOUT &lt;&lt; data.inject('') do |output, array| 
29  
-      output + array.inject('') { |row_str, value| row_str + value.ljust(20) } + "\n"
30  
-    end
31  
-  elsif klass and klass.class == Class and not klass.ancestors.include?(ActiveRecord::Base)
32  
-    STDOUT &lt;&lt; "#{word} is not an Active Record derived class"
33  
-  else
34  
-    STDOUT &lt;&lt; "#{word} was not recognised as a class"
35  
-  end
36  
-
37  
-end
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/show_schema.rb"
38 10
 </string>
39 11
 	<key>input</key>
40 12
 	<string>none</string>
13  Commands/Intelligent Go To File.plist → Commands/Test All.tmCommand
@@ -6,17 +6,18 @@
6 6
 	<string>nop</string>
7 7
 	<key>command</key>
8 8
 	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
9  
-"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/intelligent_go_to_file.rb"
10  
-</string>
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test</string>
11 10
 	<key>input</key>
12 11
 	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>^\</string>
13 14
 	<key>name</key>
14  
-	<string>Intelligent Go to File</string>
  15
+	<string>Test All</string>
15 16
 	<key>output</key>
16  
-	<string>afterSelectedText</string>
  17
+	<string>showAsHTML</string>
17 18
 	<key>scope</key>
18  
-	<string>source.ruby.rails, text.html.ruby, comment.line.number-sign.ruby</string>
  19
+	<string>source.ruby.rails, source.yaml</string>
19 20
 	<key>uuid</key>
20  
-	<string>43304E62-66F7-424D-8AF6-33E0237BF349</string>
  21
+	<string>DC549A45-D9B0-11DC-94E9-00112475D960</string>
21 22
 </dict>
22 23
 </plist>
23  Commands/Test Functionals.tmCommand
... ...
@@ -0,0 +1,23 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:functionals</string>
  10
+	<key>input</key>
  11
+	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>^\</string>
  14
+	<key>name</key>
  15
+	<string>Test Functionals</string>
  16
+	<key>output</key>
  17
+	<string>showAsHTML</string>
  18
+	<key>scope</key>
  19
+	<string>source.ruby.rails, source.yaml</string>
  20
+	<key>uuid</key>
  21
+	<string>F4EA552D-D9B0-11DC-94E9-00112475D960</string>
  22
+</dict>
  23
+</plist>
23  Commands/Test Integration.tmCommand
... ...
@@ -0,0 +1,23 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:integration</string>
  10
+	<key>input</key>
  11
+	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>^\</string>
  14
+	<key>name</key>
  15
+	<string>Test Integration</string>
  16
+	<key>output</key>
  17
+	<string>showAsHTML</string>
  18
+	<key>scope</key>
  19
+	<string>source.ruby.rails, source.yaml</string>
  20
+	<key>uuid</key>
  21
+	<string>04A30A4D-D9B1-11DC-94E9-00112475D960</string>
  22
+</dict>
  23
+</plist>
23  Commands/Test Plugins.tmCommand
... ...
@@ -0,0 +1,23 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:plugins</string>
  10
+	<key>input</key>
  11
+	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>^\</string>
  14
+	<key>name</key>
  15
+	<string>Test Plugins</string>
  16
+	<key>output</key>
  17
+	<string>showAsHTML</string>
  18
+	<key>scope</key>
  19
+	<string>source.ruby.rails, source.yaml</string>
  20
+	<key>uuid</key>
  21
+	<string>0D966168-D9B1-11DC-94E9-00112475D960</string>
  22
+</dict>
  23
+</plist>
23  Commands/Test Recent.tmCommand
... ...
@@ -0,0 +1,23 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:recent</string>
  10
+	<key>input</key>
  11
+	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>^\</string>
  14
+	<key>name</key>
  15
+	<string>Test Recent</string>
  16
+	<key>output</key>
  17
+	<string>showAsHTML</string>
  18
+	<key>scope</key>
  19
+	<string>source.ruby.rails, source.yaml</string>
  20
+	<key>uuid</key>
  21
+	<string>190401C2-D9B1-11DC-94E9-00112475D960</string>
  22
+</dict>
  23
+</plist>
23  Commands/Test Uncommitted.tmCommand
... ...
@@ -0,0 +1,23 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:uncommitted</string>
  10
+	<key>input</key>
  11
+	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>^\</string>
  14
+	<key>name</key>
  15
+	<string>Test Uncommitted</string>
  16
+	<key>output</key>
  17
+	<string>showAsHTML</string>
  18
+	<key>scope</key>
  19
+	<string>source.ruby.rails, source.yaml</string>
  20
+	<key>uuid</key>
  21
+	<string>212C3047-D9B1-11DC-94E9-00112475D960</string>
  22
+</dict>
  23
+</plist>
23  Commands/Test Units.tmCommand
... ...
@@ -0,0 +1,23 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
  9
+"${TM_RUBY:=ruby}" -- "${TM_BUNDLE_SUPPORT}/bin/rake_helper.rb" test:units</string>
  10
+	<key>input</key>
  11
+	<string>none</string>
  12
+	<key>keyEquivalent</key>
  13
+	<string>^\</string>
  14
+	<key>name</key>
  15
+	<string>Test Units</string>
  16
+	<key>output</key>
  17
+	<string>showAsHTML</string>
  18
+	<key>scope</key>
  19
+	<string>source.ruby.rails, source.yaml</string>
  20
+	<key>uuid</key>
  21
+	<string>2C60CBA1-D9B1-11DC-94E9-00112475D960</string>
  22
+</dict>
  23
+</plist>
27  Commands/View demo help.tmCommand
... ...
@@ -0,0 +1,27 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>beforeRunningCommand</key>
  6
+	<string>nop</string>
  7
+	<key>command</key>
  8
+	<string>. "$TM_SUPPORT_PATH/lib/webpreview.sh"
  9
+html_header "Ruby on Rails Bundle Help" "Ruby on Rails"
  10
+cat "$TM_BUNDLE_SUPPORT/../website/demo.html"
  11
+html_footer
  12
+
  13
+</string>
  14
+	<key>input</key>
  15
+	<string>none</string>
  16
+	<key>keyEquivalent</key>
  17
+	<string>^h</string>
  18
+	<key>name</key>
  19
+	<string>View demo help</string>
  20
+	<key>output</key>
  21
+	<string>showAsHTML</string>
  22
+	<key>scope</key>
  23
+	<string>source.ruby.rails</string>
  24
+	<key>uuid</key>
  25
+	<string>964436B8-E578-11DC-8177-00112475D960</string>
  26
+</dict>
  27
+</plist>
2  Macros/Add : Remove Column.tmMacro → Macros/Add %3A Remove Column.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Add / Remove Column</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Add : Remove Index.tmMacro → Macros/Add %3A Remove Index.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Add / Remove Index</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Add : Remove Named Index.tmMacro → Macros/Add %3A Remove Named Index.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Add / Remove Named Index</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Add : Remove Several Columns (marcc).tmMacro → ...os/Add %3A Remove Several Columns (marcc).tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Add / Remove Several Columns (marcc)</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Add : Remove Several Columns.tmMacro → Macros/Add %3A Remove Several Columns.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Add / Remove Several Columns</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Add : Remove Unique Index.tmMacro → Macros/Add %3A Remove Unique Index.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Add / Remove Unique Index</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Create : Drop Table.tmMacro → Macros/Create %3A Drop Table.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Create / Drop Table</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Drop : Create Table.tmMacro → Macros/Drop %3A Create Table.tmMacro
@@ -37,7 +37,7 @@
37 37
 	<key>name</key>
38 38
 	<string>Drop / Create Table (Second Half)</string>
39 39
 	<key>scope</key>
40  
-	<string>source.ruby.rails</string>
  40
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
41 41
 	<key>scopeType</key>
42 42
 	<string>local</string>
43 43
 	<key>tabTrigger</key>
2  Macros/Remove : Add Column.tmMacro → Macros/Remove %3A Add Column.tmMacro
@@ -37,7 +37,7 @@
37 37
 	<key>name</key>
38 38
 	<string>Remove / Add Column (Second Half)</string>
39 39
 	<key>scope</key>
40  
-	<string>source.ruby.rails</string>
  40
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
41 41
 	<key>scopeType</key>
42 42
 	<string>local</string>
43 43
 	<key>tabTrigger</key>
2  ...os/Rename : Rename Several Columns (mncc).tmMacro → .../Rename %3A Rename Several Columns (mncc).tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Rename / Rename Several Columns (mncc)</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Rename : Rename Several Columns.tmMacro → Macros/Rename %3A Rename Several Columns.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Rename / Rename Several Columns</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Rename Column.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Rename / Rename Column</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
2  Macros/Rename Table.tmMacro
@@ -33,7 +33,7 @@
33 33
 	<key>name</key>
34 34
 	<string>Rename / Rename Table</string>
35 35
 	<key>scope</key>
36  
-	<string>source.ruby.rails</string>
  36
+	<string>meta.rails.migration - meta.rails.migration.create_table</string>
37 37
 	<key>scopeType</key>
38 38
 	<string>local</string>
39 39
 	<key>tabTrigger</key>
48  Preferences/Template (ERB).tmPreferences
... ...
@@ -0,0 +1,48 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>name</key>
  6
+	<string>Template (ERB)</string>
  7
+	<key>scope</key>
  8
+	<string>text.html.ruby</string>
  9
+	<key>settings</key>
  10
+	<dict>
  11
+		<key>shellVariables</key>
  12
+		<array>
  13
+			<dict>
  14
+				<key>name</key>
  15
+				<string>RAILS_TEMPLATE_START_RUBY_EXPR</string>
  16
+				<key>value</key>
  17
+				<string>&lt;%= </string>
  18
+			</dict>
  19
+			<dict>
  20
+				<key>name</key>
  21
+				<string>RAILS_TEMPLATE_END_RUBY_EXPR</string>
  22
+				<key>value</key>
  23
+				<string> %&gt;</string>
  24
+			</dict>
  25
+			<dict>
  26
+				<key>name</key>
  27
+				<string>RAILS_TEMPLATE_START_RUBY_INLINE</string>
  28
+				<key>value</key>
  29
+				<string>&lt;% </string>
  30
+			</dict>
  31
+			<dict>
  32
+				<key>name</key>
  33
+				<string>RAILS_TEMPLATE_END_RUBY_INLINE</string>
  34
+				<key>value</key>
  35
+				<string> -%&gt;</string>
  36
+			</dict>
  37
+			<dict>
  38
+				<key>name</key>
  39
+				<string>RAILS_TEMPLATE_END_RUBY_BLOCK</string>
  40
+				<key>value</key>
  41
+				<string>&lt;% end -%&gt;</string>
  42
+			</dict>
  43
+		</array>
  44
+	</dict>
  45
+	<key>uuid</key>
  46
+	<string>87EF33FE-E918-11DC-A399-00112475D960</string>
  47
+</dict>
  48
+</plist>
48  Preferences/Template (Haml).tmPreferences
... ...
@@ -0,0 +1,48 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>name</key>
  6
+	<string>Template (Haml)</string>
  7
+	<key>scope</key>
  8
+	<string>text.haml</string>
  9
+	<key>settings</key>
  10
+	<dict>
  11
+		<key>shellVariables</key>
  12
+		<array>
  13
+			<dict>
  14
+				<key>name</key>
  15
+				<string>RAILS_TEMPLATE_START_RUBY_EXPR</string>
  16
+				<key>value</key>
  17
+				<string>= </string>
  18
+			</dict>
  19
+			<dict>
  20
+				<key>name</key>
  21
+				<string>RAILS_TEMPLATE_END_RUBY_EXPR</string>
  22
+				<key>value</key>
  23
+				<string></string>
  24
+			</dict>
  25
+			<dict>
  26
+				<key>name</key>
  27
+				<string>RAILS_TEMPLATE_START_RUBY_INLINE</string>
  28
+				<key>value</key>
  29
+				<string>- </string>
  30
+			</dict>
  31
+			<dict>
  32
+				<key>name</key>
  33
+				<string>RAILS_TEMPLATE_END_RUBY_INLINE</string>
  34
+				<key>value</key>
  35
+				<string></string>
  36
+			</dict>
  37
+			<dict>
  38
+				<key>name</key>
  39
+				<string>RAILS_TEMPLATE_END_RUBY_BLOCK</string>
  40
+				<key>value</key>
  41
+				<string></string>
  42
+			</dict>
  43
+		</array>
  44
+	</dict>
  45
+	<key>uuid</key>
  46
+	<string>C0FD2646-E924-11DC-A399-00112475D960</string>
  47
+</dict>
  48
+</plist>
38  README
... ...
@@ -0,0 +1,38 @@
  1
+TextMate bundle for Ruby on Rails development
  2
+
  3
+GET IT NOW: with Rails 2.0 support.
  4
+
  5
+Rails 2.0 (copied from CHANGELOG)
  6
+
  7
+* Snippets/Commands for:
  8
+  * Tests
  9
+    * assert_select (ass)
  10
+    * assert_difference/assert_no_difference (asd/asnd)
  11
+    * GET+POST test method stubs (defg+defp)
  12
+  * Controllers
  13
+    * respond_to (rst)
  14
+    * REMOVED: render_component snippets
  15
+    * loggers - pass a block instead of raw string to save time if logging not used (e.g. production) [thx Stephen Touset]
  16
+    * redirect_to for resource paths (rep, repp, renp, renpp)
  17
+    * render :update (ru) [thx Simon Jefford]
  18
+  * Views
  19
+    * form_for (ff)
  20
+    * link_to for resource paths (lip, lipp, linp, linpp)
  21
+    * <% end -%> (end)
  22
+  * Models
  23
+    * has_many :though (hmt)
  24
+    * association snippets give better defaults (e.g. bt + hm)
  25
+    * validates_format_of (vf,vfif) [thx Dean Strelau]
  26
+  * Migrations
  27
+    * Sexy Migrations now available as "t." snippets [thx Lawrence Pit]
  28
+    * Migration classes have own textmate scope
  29
+    * Add/Remove Columns - the 'down' statements are in reverse order [thx Lawrence Pit, Daniel Kristensen]
  30
+* Language/Syntax
  31
+  * New keywords: rescue_from
  32
+  * Added rb as a valid Rails file type [thx James Deville]
  33
+* Commands
  34
+  * html.erb is the default for new templates (backwards compatibility is being worked on too)
  35
+* Plugins
  36
+  * Footnote
  37
+    * footnote-edge uses .erb for templates [thx Stephen Bannasch]
  38
+
19  Rakefile
... ...
@@ -0,0 +1,19 @@
  1
+require 'rubygems'
  2
+require 'rake'
  3
+require 'rake/testtask'
  4
+
  5
+APP_VERSION="2.0.0"
  6
+APP_NAME='Ruby on Rails.tmbundle'
  7
+APP_ROOT=File.dirname(__FILE__)
  8
+
  9
+RUBY_APP='ruby'
  10
+
  11
+desc "TMBundle Test Task"
  12
+task :default => [ :test ]
  13
+Rake::TestTask.new { |t|
  14
+  t.libs << "test"
  15
+  t.pattern = 'Support/test/*_test.rb'
  16
+  t.verbose = true
  17
+  t.warning = false
  18
+}
  19
+Dir['tasks/**/*.rake'].each { |file| load file }
16  Snippets/$LABEL.tmSnippet
... ...
@@ -0,0 +1,16 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>content</key>
  6
+	<string>\$LABEL</string>
  7
+	<key>name</key>
  8
+	<string>$LABEL</string>
  9
+	<key>scope</key>
  10
+	<string>source.yaml</string>
  11
+	<key>tabTrigger</key>
  12
+	<string>$L</string>
  13
+	<key>uuid</key>
  14
+	<string>786980D8-FA69-4542-85A3-5E48CFAA6814</string>
  15
+</dict>
  16
+</plist>
16  Snippets/%3C%= Fixtures_identify(%3Asymbol) %%3E.tmSnippet
... ...
@@ -0,0 +1,16 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>content</key>
  6
+	<string>${RAILS_TEMPLATE_START_RUBY_EXPR}Fixtures.identify(:${1:name})${RAILS_TEMPLATE_END_RUBY_EXPR}$0</string>
  7
+	<key>name</key>
  8