change design and customize
for Rails4