search for: myparty

Displaying 8 results from an estimated 8 matches for "myparty".

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
...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. myparty <- cforest(SalePrice ~ ModelID+ ProductGroup+ ProductGroupDesc+MfgYear+saledate3+saleday+ salemonth, data = trainRF, control = cforest_unbiased(mtry = 3, ntree=300, trace=TRUE)) rf_model <- randomForest(SalePr...
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
2010 May 28
8
form helpers don't seem to work with RJS files...
I’ve been spending a great deal of time chasing this problem. Hopefully someone sees something obvious I’m doing wrong. Basically anytime I try to call fields_for from an RJS file or within a partial in the RJS file, I get the following error. My goal is simply to load a partial into a div. The fields in this partial require fields_for though. And that’s where the problem lies.