homeASCIIcasts

Episodes tagged with “forms”

  1. 197

    嵌套模型的form第二部分 Other translations: En Es It Fr

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

    Tags: forms views

  2. 196

    嵌套模型的form第一部分 Other translations: En Es It Fr

    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

  3. 178

    七个安全技巧 Other translations: En

    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

  4. 167

    更多关于虚拟属性 Other translations: En

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

    Tags: models forms

  5. 165

    批量修改记录 Other translations: En

    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

  6. 16

    Virtual Attributes Other translations: En 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