There are no reviews yet. Be the first to send feedback to the community and the maintainers!
ExceptionLogger =============== The Exception Logger (forgive the horrible name) logs your Rails exceptions in the database and provides a funky web interface to manage them. First you need to generate the migration: ./script/generate exception_migration Next, you'll need to include the ExceptionLoggable module into ApplicationController. Once that's done you might want to modify key methods to customize the logging: render_404(exception) - Shows the 404 template. render_500(exception) - Shows the 500 template. log_exception(exception) - Logs the actual exception in the database. rescue_action_in_public(exception) - Does not log these exceptions: ActiveRecord::RecordNotFound, ActionController::UnknownController, ActionController::UnknownAction Now add a new route to your routes.rb: map.connect "logged_exceptions/:action/:id", :controller => "logged_exceptions" After that, visit /logged_exceptions in your application to manage the exceptions. Once you have done that, open up the vendor/plugins/init.rb file and choose your pagination, supported options are will_paginate, paginating_find, and simple mysql based pagination (Uses LIMIT) The current default is none. To use the other options you need to uncomment the $PAGINATION_TYPE line and the require for that pagination, you should comment out what you won't use etc... It's understandable that you may want to require authentication. Add this to your config/environments/production.rb: # config/environments/production.rb config.after_initialize do require 'application' unless Object.const_defined?(:ApplicationController) LoggedExceptionsController.class_eval do # set the same session key as the app session :session_key => '_beast_session_id' # include any custom auth modules you need include AuthenticationSystem before_filter :login_required # optional, sets the application name for the rss feeds self.application_name = "Beast" protected # only allow admins # this obviously depends on how your auth system works def authorized? current_user.is_a?(Admin) end # assume app's login required doesn't use http basic def login_required_with_basic respond_to do |accepts| # alias_method_chain will alias the app's login_required to login_required_without_basic accepts.html { login_required_without_basic } # access_denied_with_basic_auth is defined in LoggedExceptionsController # get_auth_data returns back the user/password pair accepts.rss do access_denied_with_basic_auth unless self.current_user = User.authenticate(*get_auth_data) end end end alias_method_chain :login_required, :basic end end The exact code of course depends on the specific needs of your application. CREDITS Jamis Buck - original exception_notification plugin Rick Olson - model/controller code Josh Goebel - design Jason Knight - Pagination support, built on/inspired by Ryanb's willpaginate support.
jquery-pjax
pushState + ajax = pjaxgist
Potentially the best command line gister.dotjs
~/.jsfacebox
Facebook-style lightbox, built in jQueryunicorn
Unofficial Unicorn Mirror.pystache
Mustache in Pythongithub-gem
`github` command line helper for simplifying your GitHub experience.cijoe
CI Joe is a fun Continuous Integration server. Unmaintained.coffee-mode
Emacs Major Mode for CoffeeScriptgist.el
Yet another Emacs paste mode, this one for Gist.hurl
Hurl makes HTTP requests.rip
Take back your $LOAD_PATH. Deprecated and unmaintained.repl
Sometimes you need a REPL. Unmaintained, sorry.textmate.el
Basic emulation of awesome TextMate features for Emacs.colored
Colors in your terminal. Unmaintained.cache_fu
Ghost from Christmas past. Unmaintained.cheat
Cheating is fun!Zen
Distraction free writing for Atom.emacs
My Emacs configchoice
Choice is a gem for defining and parsing command line options with a friendly DSL.ambition
include Enumerable — Unmaintainedmarkdown-mode
Emacs Markdown modelyndon
Lyndon wraps JavaScript in a loving MacRuby embrace. A fun hack that is no longer maintained.nginx_config_generator
Generates nginx config files from YAML.acts_as_textiled
Makes your models act as textiled.resque-lock
A Resque plugin for ensuring only one instance of your job is running at a time.mofo
Mofo was a fast and simple microformat parser, based on a concise DSL and Hpricot. No longer maintained.gem-man
RubyGems plugin to view a gem's manpage.quake
The source code to Quake, one of the best games ever.mustache-sinatra-example
An example of using Mustache in a Sinatra app.defunkt.github.com
My GitHub Pagesake
System wide Rake.starling
resque
Moved to resque/resqueircamp
IRC <-> Campfire Bridgeevilbot
an evil bot that's definitely not for convorejasper
Lispy JavaScriptgibberish
Dead simple Rails localization.Mustache.tmbundle
A little textmate bundle for defunkt/mustacheresque-web
Sinatra-based web UI for Resqueike
Rake in Io.mapreducerb
Simple map/reduce in Rubysake-tasks
Your own personal sake tasks, ripe for sharing.matzbot
matzbot is nice so we are nicemustache-syntax-highlighter
Syntax highlighting plugin for mustache.rbrepl-completion
Completion files for repl(1)sfruby-meetup-resque
My Resque presentation at the SF Ruby Meetup, January 2010ftpd.rb
A simple ftp daemon, written in Ruby. Do not use — here for historical purposes.zippy
Zippy lil’ zipcode lib.subtlety
Subtlety: SVN => RSS, hAtom => Atomambitious_activerecord
Unmaintained Ambitious ActiveRecord adapter, for Ambition.cheat.el
Cheat Emacs modefixture_scenarios_builder
Build your fixtures in Ruby.resque-cli
A command line program for talking to Resque.iui
Import of the iui libraryambitious_activeldap
Ambition adapter for ActiveLdapdodgeball.github.com
yesooc-markdown
A Discount binding for oocpinder
My fork of Pinder, the Campfire API for Python developers.sdoc-helpers
Simple helpers to make using sdoc easier.metaid
Markdown-problems
Public repository to submit markdown problems to github supportcurrency_converter
magit
Mirror of the Magit Emacs mode.burn
Sinatra => Campfiremy-awesome-framework
A simple demonstration of how to effectively use Git submodules.repo-in-a-repo
sakerb
Sake repository served fresh by the guys at Barefoot.barefootexamples
ozimodo
An ancient Ruby on Rails powered tumblelog.electron-wordwrap
redis-namespace
Moved to resque/redis-namespacertimeout
lacampfire
Logical Awesome Campfire userscript.my-fun-repo
my-fantastic-plugin
A simple demonstration of how to effectively use Git submodules.github-markup
Moved!Love Open Source and this site? Check out how you can help us