Displaying 2 results from an estimated 2 matches for "is_template".
Did you mean:
ts_template
2006 Oct 03
0
WebObjects-style Object Cache
...to appropriate page_part objects and get populated
with the data our user filled out on the form.
So for instance here''s a method on page_part that gets called as a
result of a per page_part checkbox on the form: (when the checkbox is
checked value = true, otherwise value = false)
def is_template=(value)
super(value)
end
Now, let''s suppose there''s an attribute on the parent Page object that
we would like to update based on what happens in the page_part setter.
We might write:
def is_template=(value)
super(value)
self.page.has_template_page_parts = true i...
2006 Apr 18
9
SQL Syntax Errors
Hi,
I''m running Rails on Mac OS X 10.4. I''ve installed ruby/gem from
darwinports, and then rails through gem.
I have a recurring problem where I get an SQL syntax error:
Mysql::Error: #42000You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near '''' at line 1: INSERT INTO