Displaying 8 results from an estimated 8 matches for "mypartial".
Did you mean:
my_partial
2006 Jul 13
2
partial_counter
Hi,
i was wondering if there was any conventional way to find out (via the
partialname_counter, or any other way) which partial is the last in a
set of partials ( render :partial => ''name'', :collection =>
''@somethings'') so that i can display some kind of variable in the last
partial.
there''s got to be some neat way to do this?
(like setting
2006 May 03
3
Graceful degrading AJAX show/hide
Ok i''ve done a bit of hunting around and I can''t find much
documentation on how ensure an ajax call through an rjs file degrades
with javascript off.
Essentially, if javascript is off, I want to refresh the page and pass
a variable from the controller to the page the user is on. Not use the
rjs file.
At the moment i have this:
<%= link_to_remote("Advanced Search",
2013 Feb 03
3
RandomForest, Party and Memory Management
Dear All,
For a data mining project, I am relying heavily on the RandomForest and
Party packages.
Due to the large size of the data set, I have often memory problems (in
particular with the Party package; RandomForest seems to use less memory).
I really have two questions at this point
1) Please see how I am using the Party and RandomForest packages. Any
comment is welcome and useful.
2006 Feb 06
6
.rjs template doesn''t load?
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060206/cf123b71/PGP.bin
2006 Jun 23
2
Queue 3 or more RJS actions
My .rjs file
page.visual_effect :BlindUp, "people", :queue => ''front'' #first action
page.replace_html "people", :partial => ''person/person_compressed'',
:collection => @search_results , :queue => ''end'' #second action, after
first is done
page.visual_effect :BlindDown, "people" , :queue =>
2006 May 12
3
How to implement a global partial?
Quick question:
Whats the easiest way to implement a global partial? Where I can call
one partial from many different controllers (err controller views)?
--
Posted via http://www.ruby-forum.com/.
2007 May 10
0
rjs: using show and hide, vs replace?
hi,
i was wondering when to use show and hide vs replace?
for example
index.rhtml
<div id ="mynote"
...
</div>
_mypartial.rhtml
<div id ="mynote">
...
</div>
when using replace and rendering partial mypartial...would that be the
same as defining the div id "mynote" to display set to hidden and
updating via show/hide?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~---...
2010 May 28
8
form helpers don't seem to work with RJS files...
...Builder:0x944ea28>":String) on line #3 of
app/views/trials/observe.rjs:
1: page.alert(''before'')
2: test_func = pluralize(6, ''cat'')
3: @form.fields_for :org_detail do |w|
4: page[''section_two''].replace_html :partial => "mypartial",
:locals => { :f => w }
5: end
6: page.alert(''after'')
As you can see, the pluralize method seems to work fine, but fields_for
always returns this exception. If I run the fields_for code directly in
my main view HTML file it works fine. However, calling through the R...