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 {} \;
Related posts:
- [JRuby on Rails on GAE/J] how-to put rubygems into a jar file to get around file limitations GAE (Google App Engine) has a limit number to the...
- [Rails] use DataTime class with ActiveRecord column ActiveRecord’s :datetime corresponds to ruby Time class. But Time class...
- Lucky Star on Rails A few months ago, suddenly I got a message with...
- How to create a single wp-config file for local and remote WordPress development If you are developing WordPress sites, themes or plugins, you...
- Must have Mac apps for web developers Got a new mac? You should check this list to...
Related posts brought to you by Yet Another Related Posts Plugin.


英語
日本語
Entries
Comments