Does someone have a complete list of model types that be specified when generating a model scaffolding. And what do these types map to in terms of default UI elements?
Text field, Text area, radio button, checkbox, etc These are documented under column in the Active Record API. Sign up for our newsletter and get our top new questions delivered to your inbox see an example. You can use the following basic field types in model scaffolding, all are supported in ActiveRecord supported databases without any extra gem MySQL, PostgreSQL, SQLite:.
Sign up or log in to customize your list. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us.
Log In Sign Up. Join the Stack Overflow Community. Stack Overflow is a community of 7.
Join them; it only takes a minute: List of Rails Model Types Ask Question. Does someone have a complete list of model types that be specified when generating a model scaffolding e.
Form Helpers — Ruby on Rails Guides
Gordon Potter 2, 4 rails text_field html attributes The attributes are Astrology on stock market types, hence the following are supported: Rails text_field html attributes Randel 7, 2 32 Your link went tweets up I think that's the phrase.
If you can link to some authentic documentation, that'd be tweet i mean sweet. I think this might be a more accurate link, now api.
Is it database specific? Did you find this question interesting? Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox see an example.
Please click the link in the confirmation email to activate your subscription. You can use the following basic field types in model scaffolding, all are supported in ActiveRecord supported databases without any extra gem MySQL, PostgreSQL, SQLite: If you use Rails 4 and PostgreSQL, you can take advantage of these: Edu Lomeli 1, 11 Sign up or log in StackExchange.
Sign up using Facebook.
textfield - Add attribute to rails helper text field? - Stack Overflow
Sign up using Email and Password. Post as a guest Name.