Migrate Rhtml Views Into Erb Views Within Subversion Repository
Join the DZone community and get the full member experience.
Join For FreeFrom Brandon Keepers:
To migrate rhtml views into erb views within subversion repository:
Dir.glob('app/views/**/*.rhtml').each do |file|
puts `svn mv #{file} #{file.gsub(/\.rhtml$/, '.erb')}`
end
source control
Repository (version control)
Opinions expressed by DZone contributors are their own.
Comments