[PageOneX] [dev] Unable to create new threads

Edward Platt elplatt at media.mit.edu
Tue Mar 26 18:32:40 EDT 2013


Yep, that was part of it.  Then I had to run the scraper script again.
 Thanks!

-Ed


On Tue, Mar 26, 2013 at 5:40 PM, pablo rey <pablo at basurama.org> wrote:

> It is working for me, so you might need to run the migration that adds the
> new column for the image source: add_column :images, :source_url, :string
>
> https://github.com/numeroteca/pageonex/blob/master/db/migrate/20130322201029_add_source_url_to_image.rb
>
>
> On Tue, Mar 26, 2013 at 5:31 PM, Edward Platt <elplatt at media.mit.edu>wrote:
>
>>
>> After pulling from github, I get the following error when I try to create
>> a thread or add a newspaper to an existing thread.  Any ideas?
>>
>> undefined method `source_url=' for #<Image:0x007f86770543d0>
>>
>> lib/scraper.rb:36:in `block (2 levels) in scrape_images'
>> lib/scraper.rb:31:in `each'
>> lib/scraper.rb:31:in `map'
>> lib/scraper.rb:31:in `block in scrape_images'
>> lib/scraper.rb:30:in `scrape_images'
>> app/controllers/threads_controller.rb:53:in `create'
>>
>> -Ed
>> --
>> Edward L. Platt
>> Civic Technology Programmer
>> MIT Center for Civic Media
>> E15-348
>> http://civic.mit.edu
>> http://elplatt.com
>> @EdwardLPlatt <http://twitter.com/edwardlplatt>
>>
>> _______________________________________________
>> Pageonexdev mailing list
>> Pageonexdev at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/pageonexdev
>>
>>
>


-- 
Edward L. Platt
Civic Technology Programmer
MIT Center for Civic Media
E15-348
http://civic.mit.edu
http://elplatt.com
@EdwardLPlatt <http://twitter.com/edwardlplatt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/pageonexdev/attachments/20130326/380bbeab/attachment.htm


More information about the Pageonexdev mailing list