similar to: rendering if template exists

Displaying 8 results from an estimated 8 matches similar to: "rendering if template exists"

2006 Jun 15
1
new features
Hi All, I''m wondering if there is a resource where I can follow the new features in 1.0 easily. The list is too crowded, wiki is too unorganized, change log doesn''t look "convincing". Is there any site which follows rails development? Regards, Oyku.
2006 Jun 25
6
Understanding Common Views
Hi Everyone, I''m trying to formulate my thoughts on how views work in RoR and I understand the basic bits - 1. Every controller has its own view defined using rhtml files in the views/[controller_name] folder. 2. There is one "view" file (rhtml) for every in the controller and has the same name as the method. 3. For portions that are common, partials can be used - file
2006 Apr 03
0
documentation question (ri and binding vs. get_binding vd getBinding)
I was reading up on ERB documentation and a snippet on rhtml requiring the use of Object.get_binding caught my attention: ... rhtml = ERB.new("someTemplate") rhtml.run(someObject.get_binding) ... Curious about tools I have at my disposal to learn more about things I don''t know about Ruby, i typed the following into my DOS console: ri get_binding and got the following
2013 Nov 21
1
saving copy of template on puppetmaster
I am using puppet to manage files on the nodes with the ERB templates. Plain old standard. What I need to do is to get a copy of the generated (parsed) template file on the puppet master server. What I want to achieve is that I want to see the current version of the file as it is on the client, but on the server... I was going through the documentation but I didn''t find anything
2006 Aug 04
4
Tabs
I''m new to Ruby/Rails I want to create Tabs similar to these... http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People Can someone outline the best method? Specifically, Is creating a tabs.html in \..apps\views\layouts and using class PhotoController < ApplicationController layout "tabs" ....in my
2003 Feb 25
1
Wavelets correlation test
Hello, I use wavethresh packages to perform wavelet analysis. In particular, I would like to compare 2 signals (vectors) after a wavelet decomposition. I would like to use cor.test function, but this function acts on the entire vector values. I plan to perform a cor.test on each level of the wavelet decomposition, say N. So I will have at the end of a first step N results of cor.test. How can
2007 Mar 26
5
Developer work cycle
Hi! I've been browsing through the last months' archive and I can't find an answer to my question, so here it is (let's hope it's not too obvious): I'm working on extensions of an R library, and I would be very surprised if everyone developing R packages is doing the following, as I do: 1.- Write down a modification of an R file 2.- Exit the current R
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
Already outdated, but rounded ;) I literally just opened the 5yrs logo, changed the text and then done: inkscape -z -o logo/fish-10yrs.{png,svg} cp {logo,website}/fish-10yrs.svg and then updated the rest of the files. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> --- Makefile.am | 2 + logo/fish-10yrs.png | Bin 0 -> 65790 bytes logo/fish-10yrs.svg |