Renaming bundle to "Ruby on Rails" to conform to bundle style guide.


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8048 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Completion of renaming bundle to "Ruby on Rails" to conform to bundle style guide.


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8049 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Add support for .erb file format in switching between controller/view etc. [loincloth]

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8144 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Adding attr_readonly to the ActiveRecord macros we recognize.  Suggested by Malesca.

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8277 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Removing helper and helper_method from the list of ActiveRecord macros.  They are already correctly listed in the ActionPack macros.

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8278 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
• use TM_FULLNAME instead of TM_USERNAME in all templates and remove the setup of TM_USERNAME from the template script/helper


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8306 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
• revert my previous (accidental) commit (where the ‘rb’ extension was moved to the Rails grammar)


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8307 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Textmate Footnotes (Rails): removed log info due to changes in Rails

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8324 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
[Footnotes-edge] added html.erb view file type (thanks Giles Bowkett and George Anderson)

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8373 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Change rhtml defaults to html.erb [thanks to Nic Williams]

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8560 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Fixing the syntax for ERb tags so that they do not get syntax highlighted as a minus operator by the Ruby grammar.

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8681 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Adding .builder extension to Ruby on Rails grammar, and .erb and .html.erb extensions to HTML (Rails) grammar.


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@8751 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Revery to r9060.


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9066 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Remove render component snippets


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9067 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
• revert r9067


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9068 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
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
Move to the main TextMate library functions where possible.

* refresh_project_drawer is now rescan_project
* exit_codes switched to main library.
* Move almost all dialog methods away from CocoaDialog to tm_dialog.
* Remove unused call_with_progress


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9078 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Upgrade prototype.js to 1.6.0.2


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9079 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Change RAILS_TEMPLATE_* variables to have a TM_ prefix to reduce potential conflicts. This is going to be added to the style guide as a requirement for bundles.


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9084 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Correcting placeholder numbers. Reported by Charles Roper and Lawrence Pit.


git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20on%20Rails.tmbundle@9088 dfb7d73b-c2ec-0310-8fea-fb051d288c6d