search for: _partial

Displaying 13 results from an estimated 13 matches for "_partial".

Did you mean: partial
2006 Jun 27
2
Render partials in folders
Right now I have partials in a view folder corresponding with my controller. ie: controller: example, view: example/_partial.rhtml and I call it with render :partial => ''partial'' How do I add the partial to another folder and call it? ie: controller: example, view: example/new_folder/_partial.rhtml render :partial => ''new_folder/partial'' # does NOT work -- Respectfully: Larr...
2006 Apr 19
9
Initial load time when periodically_call_remote
When I do periodically_call_remote with e.g. :frequency => 30 after initial page load I have to wait 30 seconds until this partial renders first time. Does anybody know how to make ROR to render partial on web page load, and then start periodic calls every 30 seconds? I tried to put <div id=''mydiv''><%= render(:partial, :action=>''myaction'')
2013 Mar 06
2
Refresh a partial onClick using ajax call in rails 3.x
...ject => @object) %> </body> contoller action def some_action @object = Class.where(some_condition) render :home do |page| page["#myMenu #mixed"].replace_html :partial => "event" :object=> @object end end partial _partial.html.erb <ul id="myMenu" class="contextMenu"> <ul id="mixed"> <li><%="My Events"%> <ul> <li><span>...
2007 Sep 27
2
1.0.8 tarball problem.
...r: Error exit delayed from previous errors And for rspec_on_rails: <snip> rspec_on_rails-1.0.8/spec_resources/views/ rspec_on_rails-1.0.8/spec_resources/views/controller_spec/ gzip: stdin: decompression OK, trailing garbage ignored rspec_on_rails-1.0.8/spec_resources/views/controller_spec/_partial.rhtml rspec_on_rails-1.0.8/spec_resources/views/controller_spec/action_setting_flash_after_session_reset.rhtml <snip> rspec_on_rails-1.0.8/tasks/ rspec_on_rails-1.0.8/tasks/rspec.rake tar: Child returned status 2 tar: Error exit delayed from previous errors I''m using this command...
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 Mar 16
1
include once in partials
Hi! I have to include javascript code into my partial but I should do it once. How can I do that? What is the rule of thumb? G?bor
2008 Jan 22
0
[CruiseControl] RubyOnRails build 8688 failed
..../test/../lib/../../actionpack/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'' ./test/../lib/../../actionpack/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run'' Name: test_fragment_caching_in_rjs_partials(FunctionalFragmentCachingTest) Type: Error Message: ActionView::TemplateError: undefined method `[]'' for nil:NilClass On line #1 of usr/ccrb/shared/projects/rubyonrails/work/actionpack/test/fixtures/functional_caching/_partial.erb See http://cruisecontrolrb.thoughtworks.com/build...
2006 Jun 24
3
Staying DRY -- can views share partials?
Let''s say I have a "main" controller/view and a "sub" controller/view. If I have defined a partial in "main" for the site header (_site_header.rhtml) can I share it with "sub" or does "sub" have to duplicate it, use a symbolic link to the file, or convert the cool partial into an ugly helper? It would be nice to have a shared placed
2012 Nov 26
5
Missing template pages/layout only occasionally
I have my app email me errors when they occur. I get this about 2-3 times a week with thousands of hits a day to the site. pages/show is a .html.erb file that renders the partial _strategicrelationshipacademy.html.erb essentially. Or whatever partial it calls for. I get this on many different ''pages''. Obviously the partial exists if it renders it fine most of the time. What
2012 Mar 28
52
[REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation
Dear Xen Users, I have _partial_ (that is, less than 100%) success following Jean David Techer''s Xen 4.2-unstable VGA Passthrough Documentation. In both Windows 8 Consumer Preview HVM and Windows XP Home Edition HVM, I get yellow exclamation mark besides NVIDIA Geforce 8400 GS in Device Manager. NVIDIA Geforce 8400 G...
2012 Mar 28
52
[REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation
Dear Xen Users, I have _partial_ (that is, less than 100%) success following Jean David Techer''s Xen 4.2-unstable VGA Passthrough Documentation. In both Windows 8 Consumer Preview HVM and Windows XP Home Edition HVM, I get yellow exclamation mark besides NVIDIA Geforce 8400 GS in Device Manager. NVIDIA Geforce 8400 G...
2008 Jan 19
0
[CruiseControl] RubyOnRails build 8671 failed
..../test/../lib/../../actionpack/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'' ./test/../lib/../../actionpack/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run'' Name: test_fragment_caching_in_rjs_partials(FunctionalFragmentCachingTest) Type: Error Message: ActionView::TemplateError: undefined method `[]'' for nil:NilClass On line #1 of usr/ccrb/shared/projects/rubyonrails/work/actionpack/test/fixtures/functional_caching/_partial.erb Name: test_deliveries_array(ActionMailerTest) Type:...
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
...d_teardown.rb:117:in `send'' ./test/../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:117:in `run_callbacks'' ./test/../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:88:in `run'' Name: test_fragment_caching_in_rjs_partials(FunctionalFragmentCachingTest) Type: Error Message: ActionView::TemplateError: undefined method `[]'' for nil:NilClass On line #1 of usr/ccrb/shared/projects/rubyonrails/work/actionpack/test/fixtures/functional_caching/_partial.erb See http://cruisecontrolrb.thoughtworks.com/build...