The [Rails] bit is probably coming from the vim-rails plugin. The plugin will set a modified, local value for statusline when editing a Rails file (:set statusline? after seeing [Rails] in your status line to see that it has added %{rails#statusline()} to the end of the statusline value you set in your .vimrc). You can disable its statusline modifications by putting something like the following in your .vimrc:
let g:rails_statusline = 0
Incidentally, the [Rails] bit does not represent the value of the filetype option (which you can get with the %y statusline item, if you want it). It is mostly just a static string (there is some code to make it look like [Rails-controller] (also -model, -helper, etc.), but it looks like you would have to manually enable it).