Path to video in cloudfiles now saved to db

User profile is not bringing the videos.
Maybe its a problem with ORM
debugging in incorrect line corrected
lines in disorder

A variable was called  before a definition
correcting user show view
change 'where' by 'find_by' in user view to call for videos
changed back to where clause with different arguments
debuggin, sending hardwired userid
The user id is not being well sent to the where parameters

in the user show view, mongoid uses where to call for videos
but the user id is not being well sent, dont know why
since it worked before...
debugging adding possibilities
debugging adding possibilities 2
parsing user id to string in userview
mistake in users controller corrected