Question: I have this code

```
$collection = Mage::getModel("news/views");
->addFieldToSelect('post_id', array('eq' =>  $this->getRequest()->getParam("id")));

```

And when i'm trying to save my post i get en error:

> 
> Invalid method Iv\_News\_Model\_Views::addFieldToSelect(Array ( [0] =>
>  post\_id [1] => Array ( [eq] => 13 ) ) )
> 
> 
>

Answer: 
The `addFieldToSelect` is available for collection objects. It is defined in `Mage_Core_Model_Resource_Db_Collection_Abstract` so it is available in all its child classes. 

You are calling it on a model object that most probably is a child of `Mage_Core_Model_Abstract`. 

I think you meant to do this: 

```
$collection = Mage::getModel("news/views")->getCollection()
            ->addFieldToSelect('post_id', array('eq' =>  $this->getRequest()->getParam("id")));

```
According to problem from comment the soulution was to change 

```
AddFieldToSelect()

```

to

```
AddFieldToFilter()

```

and it worked.