Try this in a subversion-controlled rails project:
script/generate model –svn MyModel
I just learned that adding the `–svn` or `-c`, if you prefer, will actually `svn add` the generated files for you!
-
« Home
Pages
-
RSS Feeds
Try this in a subversion-controlled rails project:
script/generate model –svn MyModel
I just learned that adding the `–svn` or `-c`, if you prefer, will actually `svn add` the generated files for you!
I was reading [this tip][1] about using method\_missing to catch requests for pages you haven’t created a method for in your Rails controllers, when I remembered something I’d read _somewhere_ a while back.
You don’t even need that tip. If you have some static page you want to show in your Rails app, just drop it […]
I just submitted the Portfile for Lighttpd 1.4.7 to Darwinports. There may be a lag before it’s available, but I’ve got it working great on my local machine. The new Portfile also includes a copy of lighttpd.conf, which I’d love to be able to install to a default location, but I’m not quite sure how […]
If you’re running Rails 1.0RC or 0.14.1+, drop the following code in a file entitled `svn.rake` in the `lib/tasks` directory of your rails application:
desc "Configure Subversion for Rails"
task :configure_for_svn do
system "svn remove log/*"
system "svn commit -m ‘removing all log files from subversion’"
system ’svn propset svn:ignore "*.log" log/’
system […]
[Tagalag][1] is an interesting take on the concept I wrote about in [When People Tag People][2]… almost the inverse, in fact. And the way it’s implemented certainly piques interest. After all, who _doesn’t_ want to know what people are saying tagging about them?
[1]: http://www.tagalag.com/index.html
[2]: http://blog.unquiet.net/archives/2005/02/16/tag-youre-it-when-people-tag-people/