custom definition for railsexpress