{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/bf1de8e9353d27689837edbcec41da38?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bf1de8e9353d27689837edbcec41da38","url":"https://api.github.com/users/ivanyv","login":"ivanyv","id":6844},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-11-08T20:46:36Z","closed_at":null,"comments":6,"url":"https://api.github.com/repos/sferik/rails_admin/issues/727","body":"Hi,\r\n\r\nI'm trying to configure Rails Admin for a new Rails 3.1/Ruby 1.9.2 app. Here's part of the configuration:\r\n\r\n````ruby\r\nconfig.model Shop do\r\n  list do\r\n    field :name\r\n    field :address\r\n    [ :created_at, :updated_at ].each do |hide|\r\n      field(hide) { visible { false } }\r\n    end\r\n  end\r\nend\r\n````\r\n\r\nSo first of all, the fields don't appear in the order I'm defining them. Plus, I have to use that \"hack\" to hide fields, as they will show up otherwise.\r\n\r\nI don't believe I'm doing anything wrong, am I?\r\n\r\nBy the way, awesome engine!","html_url":"https://github.com/sferik/rails_admin/issues/727","title":"Can't specify order of fields with Rails 3.1 and Ruby 1.9.2","number":727,"id":1694042,"created_at":"2011-09-21T03:59:44Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/bf1de8e9353d27689837edbcec41da38?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bf1de8e9353d27689837edbcec41da38","url":"https://api.github.com/users/ivanyv","login":"ivanyv","id":6844},"updated_at":"2011-11-08T20:46:35Z","url":"https://api.github.com/repos/sferik/rails_admin/issues/comments/2673316","body":"A workaround seems to be using `self.order = n` in each field.","id":2673316,"created_at":"2011-11-08T20:46:35Z"}}