similar to: Liquid assign_to

Displaying 20 results from an estimated 1200 matches similar to: "Liquid assign_to"

2010 Dec 21
0
liquid include error please help
Hi All, I have been trying to get my following code working for almost 4 days and glad if you could help me. Basically what I want to do is to use liquid ''include'' tag I''m getting this error Liquid error: No such template ''test'' my code is as follows in my app/views/page/index.erb <% file_system =
2008 Apr 20
1
Liquid & Rails 2.0.2
Hello, I am using Rails 2.0.2 and the liquid template engine does not work properly. The template is not interpreted as a liquid template, but like an erb template. template name : view/pages/template_1column.html.liquid def index render :action => ''template_1column'' end The template is loaded by rails, but not interpreted by the liquid template engine. Any ideas ?
2006 May 16
2
liquid: passing objects
I''ve got Liquid installed and maybe since I''m not coming in with Django experience, I''m completely mystified by how to pass anything worthwhile to a template. In my controller: def preview @customer = Customer.find(1) @letter = Letter.find(1) @liquid_body = Liquid::Template.parse(@letter.body) @x =
2003 Feb 21
0
Live a healthy life with VERIUNI nutritionals. Tasty liquid multivitamin (PR#2567)
Live a healthy life with VERIUNI nutritionals. Tasty liquid multivitamin ensures you'll get nearly every daily nutrient required for prolonged health.Powerful antioxidant unleashes the power of red wine extract and polyphenols for the ultimate mind and body energizer. All-natural ingredients. No sugar or artificial preservatives. For more information, check out
2006 Feb 15
9
Liquid - form helpers? multiple liquid templates?
Hi, Its taking me a long time to get my head around the Liquid plugin. I have a couple of questions which hopefully someone can help me with... - How difficult would it be to add some kind of Filter or Tag which would allow other Liquid templates to be included into the current Liquid template (eg. similar to render(:file => "filename") - How difficult would it be to add
2006 Jan 31
2
Liquid templates and forms
I have started to experiment with Liquid templates and all goes fine as long as I just display my stuff. But I want to get user input (using forms), and I couldn''t figure out so far whether and how liquid facilitates the use of forms, something like the form helper tags in .rhtml. Anybody knows about that ? -- Roberto Saccon - http://rsaccon.com -------------- next part --------------
2006 Jan 24
1
Liquid templates and RJS
Does anybody know whether Liquid templates can be combined with RJS ? -- Roberto Saccon - http://rsaccon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060124/edeafadc/attachment.html
2006 Feb 08
8
Liquid with database?
Hello, Just wondering if someone here as successfully ported Liquid to use with a database. I would like to try it out but not sure how Liquid integrates with current templates. Thanks Frank --------------------------------- Yahoo! Mail - Helps protect you from nasty viruses. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 04
0
liquid positioning of draggabels
Hi, is there a way to keep the positioning of draggables "liquid" after dragging them. See this link for an example: http://www.suss.com/dragtest/index.htm If you just open the page and increase/decrease the size (e.g. STRG+ mouse wheeling) both boxes keep their relative position. But as soon as you drag the red box, it''s position is fixed and only the size of the box changes
2007 Apr 17
0
Do liquid templates play well with RJS?
Im looking to use liquid template for security reasons, our coding & designer teams work in semi-isolation. We are looking to use some RJS goodness but I''m not sure if you are faced with the same problem as with Rhtml, ie. you are running ruby code which can do anything it is told to do, eg. delete all files on the hardrive. Can anyone confirm this is the case? -- Posted via
2007 Jun 12
3
rspec 1.0.x and liquid?
Is anyone else using liquid with the > 1 rspec? This seems to fail: it ''should render show'' do response.should render_template(''buyers/show'') get :show, :id => 1 end with an error like 1) NoMethodError in ''/buyer GET should render show'' You have a nil object when you didn''t expect it! The error occurred
2011 Jul 22
0
Asset Pipeline and Sprockets
Ok I would love to work out how to use the new Raisl 3.1 Asset Pipeline with SCSS variables, mixins etc and being able to use the asset_path tag. What I have so far is this. Im my application.css.scss I have the following. *= require_self *= require layout *= require home This works fine with using the asset_path helper and variable within layout ie, // layout.css.scss.erb
2016 May 20
2
Determination of statements that contain only matrix multiplication
>>>> Maybe it could be a temporary solution. I think that if the checks are >>>> successfully passed and the basic block of the statement has exactly >>>> 14 instructions, the statement contains matrix multiplication and can >>>> be safely optimized with a generation of specific code, which takes >>>> into account information about usage
2010 Jun 11
2
AR after_initialize quandry
I have a case where I am abstracting the creation of models. After a fair bit of indirection, I eventually get around to making a .new call. I need to be able to pass params to that .new call. I know I can''t use def initialize() in an AR model (rather frustrating). So, I have found some references to after_initialize, but that doesn''t work either. I see several threads on
2000 Nov 22
0
[fwd] liked your article at http://xiph.org/about.html (from: mlewis@webnoize.com)
----- Forwarded message from Mark Lewis <mlewis@webnoize.com> ----- Delivery-Date: Tue Nov 21 10:15:55 2000 Date: Tue, 21 Nov 2000 10:07:15 -0800 From: Mark Lewis <mlewis@webnoize.com> Reply-To: mlewis@webnoize.com Organization: Webnoize News X-Mailer: Mozilla 4.75 [en] (Win98; U) To: monty@xiph.org Subject: liked your article at http://xiph.org/about.html here's an article about
2006 May 30
0
Modules in the ''lib'' directory
Hi, I have a module in the /myApp/lib directory to help manage image files. It is coincidentally called ''image_manager''. There is a function in there called asset_path, which is used to determine the path of the images that is defined as follows: def asset_path "#{RAILS_ROOT}/#{ASSET_DIR}/#{foo.id}" end I am including the image manager module in the model
2012 Jan 03
1
Rails 3.1 assets pipeline issue in production
I am running a jwplayer with an open ads server plugin .. it''s running fine in development, ads are served , but not in production on the remote server... I guess it''s related to the plugin file access ... in development , I wrote in the script : ''plugins'': { "/assets/jwplayer/ova-jw.swf": { "overlays": {"regions": [{
2017 Jul 01
0
How to replace match words whith colum name of data frame?
Dear ?, I'm sure that there are many ways to do what you want; here's one: > cbind(concept_df, category= + ifelse(apply( + sapply(chemical_df$chemical, + function(x) grepl(x, concept_df$concept)), + 1, any), + "chemical", "")) concept category 1 butan
2016 Jul 23
0
status of the FreeBSD port/package and some questions
Hello, Over time, the FreeBSD R port/package [1] has accumulated some cruft. We've begun an overhaul and the process has generally been positive since most of the local patches and workarounds are no longer necessary. However, we still require a few workarounds. 1. Libjpeg The autotools check for libjpeg >=6b fails even when libjpeg is present (e.g. /usr/local/lib/libjpeg.so.8 exists).
2017 Jul 01
0
How to replace match words whith colum name of data frame?
I have two data frame. I want to use "chemical_df" to match "concept_df " concept_df <- data.frame(concept=c("butan acid ", "nano diamond particl", "slurri composit", "composit ph polis", " inorgan particl ", "grind liquid", "liquid formul", "nanoparticl", "size abras particl",