This method acts as a scope, I would choose better name. 
```ruby
def with_default_environment(kt_environment)
  where(:default_environment => kt_environment)
end
```