We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Inicialitzar un model a partir d'atributs. Pot ser interessant per inicialitzar un resultat d'un select_all amb les subclasses que pertoquin.
post = Post.allocate post.init_with('attributes' => { 'title' => 'hello world' }) post.title # => 'hello world'