in the city
Latest Blog Activity From The Decider
First of all I’m not so sure tagging is useful. This is more of an experiment than anything. When I use them, say in flickr, I tend to just browse around. Maybe that’s all they’re good for…
Can google search them?
How do I implement them into my sitemap?
I suppose I should add the ability to comment…
I’m using acts_as_taggable plugin. One item that makes your form much easier to code is a simple model alias
alias tag_list= tag_with Now you can just use this in your form.
<%= text_field 'blog', 'tag_list' %>
This also saves work in the controller since you just use your normal scaffold code to create and update
With incremental zest I have added commenting ability. “Will they come?” Although, I don’t advertise you can use textile to do the markup.
One of the comments also noted a plugin
Upgrading Rails to 1.2.x
Trying to upgrade to 1.2.1 but being very suspicious.
Lock your rails app to a particular version.
RAILS_GEM_VERSION = '1.1.6' unless defined? RAILS_GEM_VERSION
Thanks to Steven Bristol for this tip.
Tried the tip on one of my machines.
render :partial_success :|
script/server seems to run but
rake test still uses the latest rails and therefore breaks horribly. I guess I’m not alone:
My project was created in rails v1.0. It turns out you need to
rake rails:update:configs to update the
config/boot.rb file. After I did that then test methods respected the
RAILS_GEM_VERSION = '1.1.6' in environment.rb
Thanks to my co-conspirator, Stephen Ryan with the hint.