<?php

/**
 * Magma ProRails Model v0.3.0 (http://getvilla.org/)
 * Copyright 2014-2015 Magma Fantastico
 * Licensed under MIT (https://github.com/noibe/villa/blob/master/LICENSE)
 */

class Category extends Thing {
	public $name;

	public function fill($a)
	{
		$this->_id = $a['_id'];
		$this->name = $a['name'];
	}
}
<?php

/**
 * Magma ProRails Model v0.3.0 (http://getvilla.org/)
 * Copyright 2014-2015 Magma Fantastico
 * Licensed under MIT (https://github.com/noibe/villa/blob/master/LICENSE)
 */

class Category extends Thing {
	public $name;

	public function __construct()
	{
		$this->setQueryLimit(0);
	}


	public function fill($a)
	{
		$this->_id = $a['_id'];
		$this->name = $a['name'];
	}
}
Fix Pull and Push servers
Fix Pull and Push servers
