Skip to content

Instantly share code, notes, and snippets.

@marcelorxaviers
Created July 9, 2018 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelorxaviers/54ec882e56ef8bd27a9668654dc35381 to your computer and use it in GitHub Desktop.
Save marcelorxaviers/54ec882e56ef8bd27a9668654dc35381 to your computer and use it in GitHub Desktop.
if Rails.env.development?
class MarcelosController < ApplicationController
def method
require 'pry-byebug' ; binding.pry
end
end
get '/marcelos_method/:id', to: 'marcelos#method'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment