search for: odytjvyw6ydsg

Displaying 2 results from an estimated 2 matches for "odytjvyw6ydsg".

Did you mean: 3ytjvyw6ydsg
2005 Aug 24
0
action in link_to_remote
hello, is it possible to add javascript actions inside a link_to_remote ? What i want to do is add an onClick="body.className=fancy" to the <a> tag in addition to the stuff that link_to_remote adds. is this possible ? thanks adam
2005 Aug 19
3
accessing DB result in template
hello, I have the following in my controller def totalmembers @total = User.find_by_sql "SELECT COUNT(*) as count FROM users " end now inside my template how do i access the field "count" from the query so i can print out the number of members ? I tried everythign like <%= @total.count %> but nothing works. thanks adam