Allows metadata to override the type of Rails spec

[Fixes #801]
Default value for metadata.