similar to: liquid include error please help

Displaying 20 results from an estimated 800 matches similar to: "liquid include error please help"

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 --------------
2009 Sep 15
0
Liquid assign_to
Hello using liquid markup i am trying to do the following. {{ ''holiday'' | album_thumbs | assign_to ''asset_list'' }} {% for asset in asset_list %} "link: " + {{ asset | asset_path }} {% endfor %} It should return a list with all assets for the loop, but the asset_list variable never gets set. It just returns #### (number of records) on this line:
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
2013 Apr 06
3
btrfs-progs: re-add send-test
From: Mark Fasheh <mfasheh@suse.de> btrfs-progs: re-add send-test send-test.c links against libbtrfs and uses the send functionality provided to decode and print a send stream to the console. 66819df "btrfs-progs: add send-test" contained this file when submitted, but somehow got lost on commit. [sandeen@redhat.com: Resurrect lost send-test.c from original commit]
2006 Sep 12
1
How to use a text box instead a lis for year in date_select
Hi, I have a date_select in my application and is used to select birth date of authers. So it is quite long list of years in drop down list and seems not practical. I want to have month and date drop downs as it is and to use a text box to enter only the year. Is it possible with date_select? Thank you. Sameera -- Posted via http://www.ruby-forum.com/.
2007 Dec 13
0
acts_as_attachment -> attachment_fu, db_system -> file_system
Hi I currently have an app running with acts_as_attachment and db_system. I would like to convert it to attachment_fu and file_system. Has anyone done this? Are there any pitfalls? I am aware that the change from acts_as_attachment to attachment_fu is just a matter of replacing the plugins, but I am wondering about the switch from db_system to file_system. Is it as easy? Just fishing for
2011 May 24
0
Rails 3.0.7 ActionMailer attachments
Hello, I''m converting my 2.3.8 application to 3.0.7 and have run into a snag with forwarding emails from the app with an attachment. The attachment appears in the email as 1 byte in size and thus corrupt. The actual file is fine and Rails seems to have access to the file. I''ve tried multiple permutations but here''s what I''m doing... I''m fetching email
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
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
Hi there, I''d like to use RMagick to watermark an image in the tmp directory before Attachment_fu saves it to Amazon S3. I took a look at the callbacks available in attachment_fu. There''s an ''after_attachment_saved'' method but this would be too late, and a ''before_thumbnail_saved'' but this is no good because it''s for thumbnails. I
2007 Sep 18
2
Making attachment_fu polymorphic
I am working on a small model mixin called attachment_kung to make attachment_fu polymorphic, so you no longer need a different table and Model class for every associated attachment (Productimage, Ad_doc, etc). All you really need is one model and table to handel all your attachments - in some cases, anyway. I have the code working, but have run into one small hitch that I can''t seem to
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",
2013 Dec 17
9
[PATCH] Btrfs-progs: receive: fix the case that we can not find subvolume
If we change our default subvolume, btrfs receive will fail to find subvolume. To fix this problem, i have two ideas. 1.make btrfs snapshot ioctl support passing source subvolume''s objectid 2.when we want to using interval subvolume path, we mount it other place that use subvolume 5 as its default subvolume. We''d better use the second approach because it won''t bother