Episodes tagged with “forms”
-
197
嵌套模型的form第二部分 Other translations:
Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery.
-
196
嵌套模型的form第一部分 Other translations:
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
-
178
七个安全技巧 Other translations:
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
-
167
更多关于虚拟属性 Other translations:
Make use of virtual attributes and callbacks to implement tagging in a blogging application.
-
165
批量修改记录 Other translations:
Select multiple records with checkboxes and edit them all on one form. Find out how to use virtual attributes to update values relatively.
-
16
Virtual Attributes Other translations:
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
