update to rails 4 and glysellin 0.4