doc/scaffolds.txt
be rails g pg_scaffold \
Admin/Account \
"plan:integer{enum,required}" \
"nombre:string{required}" \
--model-name=Account \
--discard \
--activeadmin
be rails g pg_scaffold \
Admin/UserAccount \
"user:references{required}" \
"account:references{required}" \
"profiles:integer{enum,array}" \
--model-name=UserAccount \
--activeadmin
be rails g pg_scaffold \
public/mensaje_contacto \
nombre:string{required} \
email:string{required} \
telefono:string \
mensaje:string{required} \
--model-name=mensaje_contacto \
--activeadmin \
--no-trackeo-de-usuarios
be rails g pg_scaffold \
users/email \
accepted_at:datetime \
delivered_at:datetime \
opened_at:datetime \
from_address:string{required} \
from_name:string \
reply_to:string \
to:string{required} \
subject:string \
body_input:string \
tags:string{array} \
associated:references{polymorphic} \
message_id:string \
mailer:string \
status_detail:string \
status:integer{required} \
--model-name=email \
--activeadmin
gmail_account_id :integer
gmail_snippet string
gmail_message_id :string
gmail_history_id :string
gmail_thread_id :string
gmail_account
# active :boolean default("true")
# email :string
# nombre :string
# status :integer
# token :string
be rails g pg_scaffold \
admin/email_log \
email:references \
log_id:string \
event:string \
log_level:string \
severity:string \
timestamp:bigint \
message_id:string \
--model-name=email_log \
--activeadmin \
--no-trackeo-de-usuarios