Skip to content

Instantly share code, notes, and snippets.

View Marinlemaignan's full-sized avatar
🤷‍♂️

hatenine Marinlemaignan

🤷‍♂️
  • London - Paris
View GitHub Profile
@Marinlemaignan
Marinlemaignan / super_json_logger.rb
Last active May 4, 2020 06:34
Airbrake + Lograge Super JSON Logger (for rails apps to use syslog-ng)
# encoding: utf-8
MAP::Application.configure do
config.lograge.enabled = true
config.lograge.keep_original_rails_log = false
config.lograge.logger = ActiveSupport::Logger.new "#{Rails.root}/log/#{Rails.env}.log"
config.lograge.formatter = Lograge::Formatters::Json.new
# Ignore errors with Lograge, will send them through Airbrake,
# so we have ez access to all the airbrake infos
@Marinlemaignan
Marinlemaignan / .rspec
Created May 21, 2018 16:17 — forked from coreyhaines/.rspec
Active Record Spec Helper - Loading just active record
--colour
-I app
@Marinlemaignan
Marinlemaignan / Gemfile
Created August 17, 2020 22:16 — forked from jeroenr/Gemfile
Make will_paginate generate ajax links
source 'https://rubygems.org'
gem 'rails', '3.2.3'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes