Defect #5343

acts_as_event Doesn't Accept Outside URLs

Added by Eric Thomas almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:2010-04-18
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Plugin API
Target version:1.0.0 (RC)
Affected version:0.9.3 Resolution:Fixed

Description

The acts_as_event plugin doesn't allow URLs to be linked to outside websites.

For example, the following doesn't work:

1acts_as_event :title => Proc.new {|o| "#{o.title}"},
2              :author => nil,
3              :datetime => :updated_on,
4              :description => Proc.new {|o| "#{o.description}"},
5              :url => "http://yahoo.com" 
6

Posted as a result of this discussion

Associated revisions

Revision 3681
Added by Jean-Philippe Lang almost 2 years ago

Fixes acts_as_event with a String as url option (#5343).

History

Updated by Eric Thomas almost 2 years ago

  • Assignee deleted (Eric Davis)

Updated by Jean-Philippe Lang almost 2 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.4
  • Affected version set to 0.9.3
  • Resolution set to Fixed

Fixed in r3681.

Updated by Jean-Philippe Lang almost 2 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 0.9.4 to 1.0.0 (RC)

Also available in: Atom PDF