sferik/rails_admin — Issue #884: Setting default values in config file not working
Author: victor-ono
Created: 2011-12-16 17:38:14+00:00
State: open

I'm trying to set default values as described on https://github.com/sferik/rails_admin/wiki/How-to-set-default-values

The following code doesn't work for me:

```ruby
RailsAdmin.config do |config|

config.model Event do
edit do
field :agency_id do
def value
2
end
end
end
end

end
```