I feel like this should be obvious, but I just cannot find it in the documentation.
I am using rails_admin to build a simple CMS.
Consider this:
config.model Article do
list do
field :title
field :created_at
field :updated_at
end
edit do
field :title
field :description do
required true #this line is pseudo code! What is the real thing?
maxlength 600 #ditto this line
end
end
end
How do I turn those two lines of pseudo-code into real marks of "required" and "maxlength"?