   # @param key [String] - attribute
   # @param value [Any] - actual value
   # @return [Array<Model>]
-  findAll: (key, value) ->
+  find_all: (key, value) ->
     for model in @_array when model.get(key) == value then model
 
   #

#  myCollection.unsycn() # stop synchronization with server
#  myCollection.sync(3000)   # start sync every 3 second
#
class Sirius.Collection
  #
  # @param klass [T <: Sirius.BaseModel] - model class for all instances in collection

  all: () ->
    @_array

  # return size of collection
  size: () ->
    @_array.length

  # @nodoc
  on_remove: (model) ->

