I finally got back to updating my old Hobo app. I finally ended up
pasting the old app into a new app bit by bit. That worked well. Now
I'm adding some RSS feeds to the app with rss-client. I found a
sample app -- cool, good to go. Following along with the sample, I do
the following:
sudo script/generate hobo_model_resource item feed_id:integer
title:string link:string
Then I generate and run the hobo_migration. Lookout, nasty errors!
undefined method `to_str' for :string:Symbol
/usr/local/lib/ruby/1.8/fileutils.rb:1408:in `fu_each_src_dest0'
/usr/local/lib/ruby/1.8/fileutils.rb:297:in `link'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
1094:in`link'
/opt/swv/app/models/item.rb:8
After much frustration, I changed 'link' to 'address'. Ta da! It
migrated just fine. Is it me?
Thanks! Paul
It's not you - it's a Rake problem. See https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/553
for more details - the offending method there was 'file', but 'link'
has the same issue.
--Matt Jones
On Feb 8, 5:24 pm, Matt Jones <al2o...@gmail.com> wrote:
> On Feb 8, 2010, at 7:35 PM, Me wrote:
>
>
>
>
>
> > Greetings to all [and especially Owen],
>
> > I finally got back to updating my old Hobo app. I finally ended up
> > pasting the old app into a new app bit by bit. That worked well. Now
> > I'm adding some RSS feeds to the app with rss-client. I found a
> > sample app -- cool, good to go. Following along with the sample, I do
> > the following:
>
> > sudo script/generate hobo_model_resource item feed_id:integer
> > title:string link:string
>
> > Then I generate and run the hobo_migration. Lookout, nasty errors!
>
> > undefined method `to_str' for :string:Symbol
> > /usr/local/lib/ruby/1.8/fileutils.rb:1408:in `fu_each_src_dest0'
> > /usr/local/lib/ruby/1.8/fileutils.rb:297:in `link'
> > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
> > 1094:in`link'
> > /opt/swv/app/models/item.rb:8
>
> > After much frustration, I changed 'link' to 'address'. Ta da! It
> > migrated just fine. Is it me?
>
> It's not you - it's a Rake problem. Seehttps://hobo.lighthouseapp.com/projects/8324-hobo/tickets/553
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.