add more doc about theme
fix scopes for rails 4