>
> And my Player model is:
>
> class Player < ActiveRecord::Base
>   belongs_to :team
>
>   # Crea un jugador con los valores por defecto
>   def Player.create_player(team_id)
>     player = Player.new
>     player.relate_to_team(team_id)
>     player.save <-------------------------------- LINE 15
>

try @player.save


--
"In vain you tell me that Artificial Government is good, but that I  
fall out with the Abuse. The Thing! The Thing itself is the Abuse!" -  
Edmund Burke