13 lines
239 B
PHP
Executable File
13 lines
239 B
PHP
Executable File
<?php
|
|
class PostVote extends Rails\ActiveRecord\Base
|
|
{
|
|
protected function associations()
|
|
{
|
|
return array(
|
|
'belongs_to' => array(
|
|
'post',
|
|
'user'
|
|
)
|
|
);
|
|
}
|
|
} |