Displaying 4 results from an estimated 4 matches for "jhaagman".
Did you mean:
jhaagmans
2010 Nov 27
2
Something weird about draggable_element_js
Hi,
Because I want to create several draggable elements in a list, I''d
like to do the following:
<script type="text/javascript">
<%- elements.each do |element| -%>
<%= draggable_element_js("element_#{element.id}".to_sym, :revert
=> true) %>
<%- end -%>
</script>
However, if you''d try this in your app, you''ll
2009 Jul 29
6
Doubt in nil object with ajax
hi this is my htnl
<html>
<head>
<%= javascript_include_tag :defaults %>
</head>
<body>
<%= form_tag nil, { :id => ''search_form'' } %>
<%= text_field ''recipe'', ''name'' %>
<%= end_form_tag %>
<div id="recipe">
</div>
<%= observe_form :search_form, :frequency =>
2009 Dec 16
5
Caching comments: timestamps and subdomains
Hi,
I''m working on a website that has a very slow loading frontpage. I
wanted to start by caching certain elements that have high load. For
example, it loads the last 50 comments, along with the corresponding
usernames, avatars and more. So I cached that fragment and created a
sweeper that observes Comment and expires after every create or
destroy action.
However, I have two problems:
2010 Apr 20
5
Smart localisation
Hi,
I have some trouble using Il8n. I''ve had these problems for a while
now and always used rough workarounds, but as my productivity needs to
go up another notch, I was wondering whether there was any way of
avoiding these workarounds.
For example: When I''m inside a view (say ''home/index'') and use
t(''title''), I''d like Rails to know