If you're using the friendly_id gem in your rails project you've recognized the hyphen in the slug.
E.g. you registered a new user:
foo bar
the slug will be foo-bar by default.
That is not comfortable for some reasons, an underscore will be the better solution.
Type in your model:

class User < ActiveRecord::Base

extend FriendlyId
friendly_id :name, use: :slugged, :sequence_seperator => '_'

def normalize_friendly_id(text)
super.gsub('-', '_')


jens | show | 13.03.2015 10:15

nginx ssl PEM_read_bio_X509_AUX

While installing an intermediate certificate on a nginx-web-server we ran into following error:

PEM_read_bio_X509_AUX ("<path to your
intermediate-crt-file>") failed (SSL: error:0906D066:PEM
routines:PEM_read_bio:bad end line)

This is because the bundled and concatenated intermediate_certificate_file joined two lines together:


We edited the file and added a line break:


And after this everythings works fine!!

jens | show | 08.02.2015 16:04

It's so far

It has not yet been completed, but we want show you what we've done until now.
Check it out:

jens | show | 20.01.2015 12:22

© service - 2012