Coder Social home page Coder Social logo

ruby-on-rails-tmbundle's Introduction

#Rails TextMate Bundle

##Description

Features I've added to the bundle include:

####Shoulda Support

  • Full shoulda support WITHOUT having to swap your active bundle. This allows you to continue using the Rails bundle, but still all the advantages of my Shoulda bundle:
    • syntax highlighting,
    • ability to run tests and contexts from textmate
    • shoulda snippets and commands
    • ⌘⇧+T lists shoulda tests / contexts

####Other Changes

  • ⌥+␣ (option + spacebar) shows methods for a class or instance. (Simulates autocomplete of more powerful IDEs)
  • ⌥+: aligns code (ie if you have a hash on multiple lines, you can easily align all the keys with the first key)
  • ⌥⇧+M opens a window of recent migrations with links to open the migration file
  • ⌥⇧+L lets you easily open or tail rails logs (development, test, production)
  • rest⇥ - snippets for rest named routes (you'll never need to pull out that rest cheatsheet again!)
  • ⌘⇧+T lists factory names (when file includes Factory Girl definitions)
  • Fac ⇥ allows searching of all factories definitions and inserts selected factory as a snippet (assumes your factories are in your test/factories/ dir)
  • Command to convert move :table, :column, :after => :another_column into the proper migration format with the column type
  • Lots of other rails snippets: Rails.root, asserts, scopes, etc.

##Installation

  1. $ cd ~/Library/Application\ Support/TextMate/Bundles/
  2. $ git clone git://github.com/phuibonhoa/ruby-on-rails-tmbundle.git Rails.tmbundle
  3. $ osascript -e 'tell app "TextMate" to reload bundles'

If you'd like to install all my bundles, check out this script written by mkdynamic. It installs all bundles and backups any existing bundles with conflicting names. Thanks Mark!

####My Other Textmate Bundles My bundles work best when use in conjunction with my other bundles:

##Credits

BookRenter.com Logo

Additions by Philippe Huibonhoa and funded by BookRenter.com.

Original bundle and it's contributors can be found here

ruby-on-rails-tmbundle's People

Contributors

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

Watchers

Rob Mills 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.