Coder Social home page Coder Social logo

rainly / ruby-on-rails-tmbundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drnic/ruby-on-rails-tmbundle

1.0 1.0 1.0 1.16 MB

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

Home Page: http://groups.google.com/group/rails-textmate

License: MIT License

ruby-on-rails-tmbundle's Introduction

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]
  • Ian's extra notes:

    • I've noticed that the install plugin command doesn't work under Ruby 1.9.*

ruby-on-rails-tmbundle's People

Contributors

drnic avatar lawrencepit avatar carlosbrando avatar lautis avatar i0n avatar brianjlandau avatar tobstarr avatar jqr avatar ciaran avatar radar avatar sizzlerwa avatar bjeanes avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.