similar to: rendering templates outside defaultl views location

Displaying 20 results from an estimated 1000 matches similar to: "rendering templates outside defaultl views location"

2009 Apr 09
4
uninitialized constant ActionView::Helpers::AssetTagHelper
Hi All, I just wiped out my hard drive, did a fresh install of os x 10.5, and upgraded to rails 2.3.2. i installed the mysql pkg for os x, and created the databases i needed for the project i was working on before the upgrade. However when i run rake db:migrate to run my migrations i get this error uninitialized constant ActionView::Helpers::AssetTagHelper I''ve found some stuff about
2007 Dec 17
6
Checkbox array and Ajax.updater
Hello all, I have some checkbox array like these: <input type=checkbox name=list[] value="1">Java<br> <input type=checkbox name=list[] value="2">JavaScript<br> <input type=checkbox name=list[] value="3">ASP<br> <input type=checkbox name=list[] value="4">HTML<br> <input type=checkbox name=list[]
2020 Jul 21
2
Example of Jitsi Desktop provisioning file
Hi, Le ven. 10 juil. 2020 à 16:56, Sylvain Boily <sylvain at wazo.io> a écrit : > > It probably can help you: > > https://github.com/wazo-platform/wazo-provd-plugins/blob/master/plugins/xivo-jitsi/1/templates/base.tpl > > Sylvain > > Yes, provided example was exactly what I was after ! Thank you very much ! -------------- next part -------------- An HTML attachment
2006 Apr 27
4
how to make views changable
Hello I need to make site views changeable I found how to change layouts but it is not enough, becouse templates can use different ways to display and organize content. I found one way to do this, but i need to make subfolders in my ''view/layouts'', ''view/controller_name'' both and to create additional subfolder somewhere in ''public'' to put
2008 Oct 28
7
How to override one method of AssetTagHelper
I created a file ./lib/action_view/helpers/asset_tag_helper.rb and put in it only the method I want to override. like this module ActionView module Helpers #:nodoc: module AssetTagHelper def image_path(source) compute_public_path(source, ''images'') end end end end But as soon I try this all the others methods from the overriden module are not
2006 Feb 12
9
CSS in Views
How can I link to a CSS file in one of my view files? -- Posted via http://www.ruby-forum.com/.
2006 Jul 25
1
Battle of Namings: stylesheet_link_tag vs link_to_javascript
Link helper namings counterintuitive in an environment where convention over configuration prevails: <%= link_to_javascript ''myscript'' %> <%= stylesheet_link_tag ''mystyle'' %> A simple def in ActionView::Helpers::AssetTagHelper would fix things in a nice, backward-compatible way, such that: <%= link_to_javascript
2008 Oct 31
2
Stubbing #javascript_include_tag in a helper spec
When writing specs for a helper method, how do you set an expectation for #javascript_include_tag ? describe NeighbourhoodsHelper do describe ''#initialise_map'' do it ''should include the "foo" JS file'' do # expectation here helper.foobar end end end I''ve tried replacing "# expectation here" with the
2011 Sep 02
1
can't compile assets on prod due to asset_host config && SSL requirement
My production asset_host config looks like this: config.action_controller.asset_host = Proc.new { |source, request| if request.ssl? "#{request.protocol}#{request.host_with_port}" else "#{request.protocol}assets#{(source.length % 4) + 1}.example.com" end } ...which is more or less straight from the docs:
2014 May 13
2
Building extlinux (Syslinux 6.03-pre11)
Hi all, I'm building extlinux on a rather limited linux system (LFS), bios version (no efi). Unfortunately, extlinux.txt does not contain any information related to build procedures and dependencies. python /sources/syslinux-6.03pre11/com32/cmenu/menugen.py --input=/sources/syslinux-6.03pre11/com32/cmenu/test2.menu --output=test2.c
2007 Nov 20
1
Problems with Click'N Design 3D Afterburner - A CD Label Designer
To: All I'm trying to run /_Click'N Design 3D Afterburner_/. an application for CD labels and jacket design. It installs fine and it seems most of it runs OK except when it has to access template files - files with *.tpl extension. Those files contain the page layouts and paper sizes and are crucial to the application functioning. When trying to access a template the only
2005 Jul 01
1
Setting lattice boxplot's lines to black
Hi R users. I'm using the lattice library and I need a print version for my graphics. How Set I my boxplot's lines to black ???? tpl<-trellis.par.get("plot.line") tpl$col<-"black" trellis.par.set("plot.line", tpl) Don't work. Boxplot's lines aren't black. Thanks a lot. This is my script. library(lattice) # I set background's
2007 Nov 16
3
Route Information
Is there a method to return a hash of the route configuration based on a path? For example: magic_method(''/my_controller/my_action/my_id'') => {:controller => ''my_controller'', :action => ''my_action'', :id => ''my_id''} Thanks! Tom --~--~---------~--~----~------------~-------~--~----~ You received this message
2007 Apr 20
1
[LLVMdev] llvm-gcc make check
Is 'make check' supposed to work with llvm-gcc? I get the following: autogen -T /users/dag/projects/cascade/compiler/llvm-gcc/fixincludes/check.tpl /users/dag/projects/cascade/compiler/llvm-gcc/fixincludes/inclhack.def Your shell is '/bin/tcsh'. AutoGen will attempt to use 'sh' /bin/sh ./check.sh /users/dag/projects/cascade/compiler/llvm-gcc/fixincludes/tests/base
2006 May 23
2
glmmADMB and the GPL -- formerly-- How to buy R.
Dear List, Some of you have been following the discussion of the GPL and its inclusion in the glmmADMB package we created for R users. I would like to provide a bit of background and include an email we received from Prof. Ripley so that everyone can be aware of how some might use the GPL to try to force access to proprietary software. I think this is interesting because many have voiced the
2008 Feb 02
3
Question abt redirect_to..
I found a reference to using attachment_fu and followed the lead of it but having an issue with the redirect_to that renders the fb:render tag - In my form I''m setting the canvas to false, file is being uploaded / save fine but when I attempt to redirect: redirect_to :action => :new, :canvas => true Unfortunatly it looks like my callback URL is getting printed twice, e.g.
2012 Feb 24
2
shell command with Robocopy error
Ok so my problem is I am running a shell command to copy certain file types from one directory to another and it returns multiple errors the code is models=c("1sFE1cFE","1sFE1cFEp") for(m in 1:length(models)){ shell(paste("robocopy C:\\Sim_Test_1\\Sim",models[m]," "," C:\\Sim_Test_1\\SimArchive\\Sim",dirnum,"\\pinrepstd *.std *.rep *.tpl
2007 Feb 21
6
Problem with url_for and https - overrides all options
I have a piece of code like this in one of my views: <%=link_to "link here", :action=>''my_action'', :id=>1 %> It works fine on my local development machine, running Webrick over http and it works fine on my testing server which is running single mongrel instance behind Apache 1.3 as a proxy. On both the outcome link is this: <a
2005 Oct 16
13
More than one parameter with link_to_remote
Hi all, I''m trying to pass more than one parameters using link_to_remote, but I''m getting a behaviour that seems quite strange to me. Here''s the code: link_to_remote ''some text'', :update => ''form'', :method => ''get'', :url => { :action =>
2006 Jan 14
3
link_to_remote where the url contain a javascript variable
Ok, so I am basically trying to use ''link_to_remote'' and pass the value of a javascript variable as an argument. Something like that: link_to_remote "my_link", :update => ''my_div'', :url => { :action => "my_action", :var => ''my_var'' } Basically,