adapting to rails 4.0
testing, a little dynamism
a bit dynamic now