railsify and add empty options