got a problem with one to one relations
I have some Matches and i want to have one score for a match.
my Match.rb
has_one :score, :dependent
You can create a score by using the below example
@match.build_score or @match.create_score