We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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'