Search Results
-
134
Paperclip Other translations:
Paperclip makes it easy to add attachments to a model. Find out how in this episode.
Tags: plugins
-
44
Debugging RJS Other translations:
RJS and AJAX can be difficult to debug, especially when the browser doesn't show an error message. Find out how to trace through your AJAX calls in this episode.
-
43
AJAX with RJS Other translations:
Learn how to use RJS to generate JavaScript that will update multiple elements on a page.
Tags: ajax
-
33
Making a Plugin Other translations:
Duplication can often be removed from your Ruby code by making methods dynamically. In this episode we make a plugin to do just that.
Tags: active-record plugins
-
32
Time in Text Field Other translations:
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
-
31
Formatting Time Other translations:
Use Ruby's strftime method to format dates and take advantage of Rails DATE_FORMATS hash to store custom date formats.
Tags: active-support views
-
30
Pretty Page Title Other translations:
It's easy to avoid giving each page in your Rails applications its own title. Here we'll show you an easy way to do it.
Tags: views refactoring
-
29
group_by Month Other translations:
The group_by method can be used to group lists of items for display in your Rails apps.
Tags: views active-support
-
28
In Groups Of Other translations:
The in_groups_of method makes it easy to render a collection of items in several columns, with one slight catch.
Tags: views active-support
-
27
Cross-site Scripting Other translations:
Cross-site scripting is a common security issue. FInd out why it is important to escape any user input that you display in a browser.