homeASCIIcasts

Episodes tagged with “forms”

  1. 304

    OmniAuth Identity

    With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider.

    Tags: forms plugins

  2. 302

    In-place Editing Other translations: Ja

    Edit an attribute in-place without leaving a page using the Best In Place gem. Learn how to add validations and support for various field types.

    Tags: forms ajax views

  3. 263

    Client-side Validations Other translations: Ja Es

    Showing validation errors inline as the user is filling out the form can lead to a better use experience. Learn how to do this using the Client Side Validations gem.

    Tags: plugins forms

  4. 258

    Token Fields Other translations: Ja Es

    With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association.

    Tags: forms ajax plugins

  5. 251

    MetaWhere & MetaSearch Other translations: Ja Es

    MetaWhere provides a way to do complex find conditions without SQL in Active Record. MetaSearch makes it easy to create search forms with many find options.

    Tags: rails-3.0 plugins active-record forms search

  6. 234

    Simple Form Other translations: Pt Es It

    Simple Form is a convenient way to generate forms with many options to customize the generated markup.

    Tags: forms plugins

  7. 217

    Multistep Forms Other translations: It Es

    In this episode we create a multistep form, or wizard, from scratch.

    Tags: forms views active-record

  8. 213

    Calendars Other translations: Es It

    If dates play an important role in your application, consider adding a date picker or calendar view as shown in this episode.

    Tags: plugins views forms

  9. 211

    Validations in Rails 3 Other translations: Es It

    Rails 3 offers several new additions to validations. Here learn how to make a custom error_messages partial, reflect on validations, and clean up complex validations in a model.

    Tags: rails-30 forms active-record views

  10. 198

    Edit Multiple Individually Other translations: Es It

    se checkboxes to edit multiple records in one form, where each one has an individual set of form fields.

    Tags: views forms

  11. 197

    Nested Model Form Part 2 Other translations: Es It Fr Cn

    Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery.

    Tags: forms views

  12. 196

    Nested Model Form Part 1 Other translations: Es It Fr Cn

    The accepts_nested_attributes_for method, introduced in Rails 2.3, makes handling multiple models in a form much easier. Find out how to use it in this episode.

    Tags: forms views active-record

  13. 185

    Formtastic Part 2 Other translations: Tr Es

    In this episode we cover some of Formtastic's more advanced features, including its handling of many-to-many relationships, required fields and styling.

    Tags: forms views plugins

  14. 184

    Formtastic Part 1 Other translations: Tr Es

    Formtastic provides a concise way to generate form views. In the first part of this two-part series we use it to generate a simple form and a more complex, customised one.

    Tags: forms plugins views

  15. 178

    Seven Security Tips Other translations: Cn

    Security is paramount in your Rails applications. Here we show seven commons security flaws from mass assignment to CSRF.

    Tags: security forms views active-record

  16. 167

    More on Virtual Attributes Other translations: Cn

    Make use of virtual attributes and callbacks to implement tagging in a blogging application.

    Tags: models forms

  17. 165

    Edit Multiple Other translations: Cn

    Select multiple records with checkboxes and edit them all on one form. Find out how to use virtual attributes to update values relatively.

    Tags: forms views routing

  18. 32

    Time in Text Field Other translations: It

    Updating time fields via a series of dropdowns isn't the most elegant way to enter date and time information. Find out how to allow your users to enter dates and time in a text field instead.

    Tags: active-record forms

  19. 26

    Hackers Love Mass Assignment Other translations: It

    If you're using mass assigment you're giving complete control to your models to your users. Learn how to protect them in this episode.

    Tags: security active-record forms

  20. 25

    SQL Injection Other translations: Id It

    Attacks via SQL injection are one of the most common ways to attack web applications. Learn how to avoid being a victim of it.

    Tags: security active-record forms

  21. 17

    HABTM Checkboxes Other translations: It Es Fr

    Create a list of checkboxes for easily managing a HABTM relationship.

    Tags: views forms

  22. 16

    Virtual Attributes Other translations: Cn It Es Fr

    Keep your forms flexible by adding virtual attributes to your model. This powerful technique allows you to create form fields which may not directly relate to the database.

    Tags: active-record forms