Created
August 10, 2009 12:00
-
-
Save rdougan/165154 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private | |
def get_details | |
#get the title + thumbnail if it is vimeo | |
if self.site == "Vimeo" | |
logger.info "===============================" | |
v = Vimeo::Simple::Clip.info(self.reference_id) | |
#self.title = v.first["title"] if v.first | |
#self.thumbnail = v.first["thumbnail_medium"] if v.first | |
end | |
NameError (uninitialized constant Video::Vimeo): | |
app/models/video.rb:71:in `get_details' | |
app/controllers/videos_controller.rb:30:in `create' | |
app/middleware/flash_session_cookie_middleware.rb:15:in `call' | |
app/middleware/flash_session_cookie_middleware.rb:15:in `call' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment