Giter Site home page Giter Site logo

code_buddy's People

Contributors

alexrothenberg avatar arunagw avatar flyingmachine avatar houhoulis avatar juliangruber avatar patshaughnessy avatar raysrashmi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

code_buddy's Issues

Brilliant Demo, really want to get this working on my own code.

Hi Pat

In the Mike Hartl tutorial on rails3 I followed your instructions for adding your gem to Gemfile and doing bundle install. So the app has only a single model with a name:string and a title:string. Here is the versioning info:

ruby-1.9.2-p180@rails3tutorial $ rails -v
rails -v
Rails 3.0.7
ruby-1.9.2-p180@rails3tutorial $ ruby -v
ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]

I made the changes that JezC made and here is the trace I got:

ruby-1.9.2-p180@rails3tutorial $ rails s
rails s
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-05-11 18:47:52] INFO WEBrick 1.3.1
[2011-05-11 18:47:52] INFO ruby 1.9.2 (2011-02-18) [x86_64-darwin10.7.0]
[2011-05-11 18:47:52] INFO WEBrick::HTTPServer#start: pid=68690 port=3000
Error during failsafe response: ActionView::Template::Error
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/code_buddy-0.1.0/lib/code_buddy/rails3/templates/rescues/_trace.erb:23:in block in ___sers_cmmagid__rvm_gems_ruby_______p____rails_tutorial_gems_code_buddy_______lib_code_buddy_rails__templates_rescues__trace_erb___3116821895429172383_2158403340_2373106795731895733' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/code_buddy-0.1.0/lib/code_buddy/rails3/templates/rescues/_trace.erb:21:ineach'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/code_buddy-0.1.0/lib/code_buddy/rails3/templates/rescues/_trace.erb:21:in ___sers_cmmagid__rvm_gems_ruby_______p____rails_tutorial_gems_code_buddy_______lib_code_buddy_rails__templates_rescues__trace_erb___3116821895429172383_2158403340_2373106795731895733' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/template.rb:135:inblock in render'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/notifications.rb:54:in instrument' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/template.rb:127:inrender'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:59:in block in _render_template' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:inblock in instrument'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21:in instrument' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:ininstrument'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:56:in _render_template' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:26:inrender'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/code_buddy-0.1.0/lib/code_buddy/rails3/templates/rescues/diagnostics.erb:9:in ___sers_cmmagid__rvm_gems_ruby_______p____rails_tutorial_gems_code_buddy_______lib_code_buddy_rails__templates_rescues_diagnostics_erb___3454362574266022188_2158441140_2373106795731895733' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/template.rb:135:inblock in render'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/notifications.rb:54:in instrument' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/template.rb:127:inrender'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:59:in block in _render_template' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:inblock in instrument'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21:in instrument' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:ininstrument'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:56:in _render_template' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:26:inrender'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:88:in rescue_action_locally' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/code_buddy-0.1.0/lib/code_buddy/rails3/railtie.rb:19:inrescue_action_locally'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:68:in render_exception' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:59:incall'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/code_buddy-0.1.0/lib/code_buddy/middleware.rb:14:in call' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/railties-3.0.7/lib/rails/rack/logger.rb:13:incall'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rack-1.2.2/lib/rack/runtime.rb:17:in call' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72:incall'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rack-1.2.2/lib/rack/lock.rb:11:in block in call' <internal:prelude>:10:insynchronize'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rack-1.2.2/lib/rack/lock.rb:11:in call' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30:incall'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/railties-3.0.7/lib/rails/application.rb:168:in call' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/railties-3.0.7/lib/rails/application.rb:77:inmethod_missing'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14:in call' /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rack-1.2.2/lib/rack/content_length.rb:13:incall'
/Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rack-1.2.2/lib/rack/handler/webrick.rb:52:in service' /Users/cmmagid/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:inservice'
/Users/cmmagid/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' /Users/cmmagid/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:inblock in start_thread'

Started GET "/users" for 127.0.0.1 at 2011-05-11 18:47:59 -0400
Processing by UsersController#index as HTML
User Load (12.6ms) SELECT "users".* FROM "users"
Completed in 70ms

RuntimeError (oops):
app/controllers/users_controller.rb:9:in `index'

Rendered /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/code_buddy-0.1.0/lib/code_buddy/rails3/templates/rescues/_trace.erb (61.2ms)
Rendered /Users/cmmagid/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/code_buddy-0.1.0/lib/code_buddy/rails3/templates/rescues/diagnostics.erb within rescues/layout (63.9ms)
C-c C-c[2011-05-11 18:52:53] INFO going to shutdown ...
[2011-05-11 18:52:53] INFO WEBrick::HTTPServer#start done.
Exiting

Feature request: handle protocols txmt:// vim://

Don't know how much work this is. Personally I'm a mac vim user, but it would be absolutely awesome if we could have clickable links to the relevant file in a text editor.

I've not looked at implementation, but metric_fu has txmt:// links. I'm willing to look at adding the feature, but thought I'd put it out there in case anyone has the necessary know-how already

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.