Posts Tagged "troubleshooting"

[Ruby on Rails] Didn't apply edited view file

»Posted by on May 18, 2009 in Blog | 0 comments

With Ruby on Rails 2.3.2 Sometimes, edit rails view file like app/view/users/edit.html.erb, but didn’t apply it. Draws page with old (before edit) view. Reason In app/view/* directory, like app/view/users, there might be files like edit.html.erb.~BASE~ ends with “.html.erb.*”. Then rails draw pages with view file that ends with “.*”. svn (subversion) makes .~BASE~ files when compare working file with old revision file. How to resolve remove .*~BASE~ files like this: % cd project_dir % find . -name "*html.*" ./app/views/userss/edit.html.erb.~BASE~ ./app/views/userss/show.html.erb.~BASE~ % find . -name "*.~BASE~" -exec rm {} \;

read more