Episodes tagged with “views”
-
207
语法高亮 Other translations:
Three popular choices for syntax highlighting in Rails applications are discussed in this episode: CodeRay, Ultraviolets and Pygments.
-
205
Unobtrusive JavaScript Other translations:
Rails 3 makes great use of unobtrusive JavaScript, helping keep content and behaviour separate.
-
204
XSS Protection in Rails 3 Other translations:
In previous versions of Rails it was easy for your application to be vulnerable to cross-site scripting attacks. Rails 3 solves this problem but automatically escaping output.
-
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
-
189
嵌入关联 Other translations:
in this episode we show you how to embed a one-to-many or many-to-many association in a single integer field.
Tags: active-record views
-
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
-
174
用AJAX进行分页 Other translations:
Use jQuery to add unobtrusive JavaScript links to a paginated list.
-
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.
-
136
jQuery Other translations:
In this episode we recreate the AJAX form submission we did back in episode 43 but with jQuery instead of Prototype and RJS.
Tags: ajax controllers views
