similar to: Liquid templates and forms

Displaying 20 results from an estimated 2000 matches similar to: "Liquid templates and forms"

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 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 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:
2007 Feb 26
2
Apache+mod_proxy_balancer+Mongrel+Mephisto, Apache kills CPU
Our Mephisto install kills Mongrels and causes Apache to pound the CPU. This started when we moved to Apache+mod_proxy_balancer+Mongrel. Here''s what we know: The following things are working OK, except when used in the combination listed above: mongrel, mongrel_rails, MySQL, Apache, mod_proxy_balancer. We believe these are all OK because we moved five other Rails apps to this
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 =
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 Mar 13
2
how do I render a partial view into a string from inside a view ?
I want to pass the partial to a Javascript function ( which uses the data for for creating an iframe) render_to_string is not accessible form a view thanks in advance -- Roberto Saccon - http://rsaccon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060313/8165bcec/attachment.html
2006 Jan 08
8
RaislsEdge - where to get latest javascripts ?
To play with RJS I just made a "rake freeze edge". But this copies only the libs into vendor/rails and any attempt of "rake update_javascripts" fails. But all the he required javascripts are there, at: BASEPATH/vendor/rails/actionpack/lib/action_view/helpers/javascripts/ Except of prototype, they seem to have no version number, so I am asking whether I should take those
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
2005 Nov 11
2
InPlaceEditor trouble
Hi all this is my first post to this list. Im am trying to use the InPlaceEditor, but I only manage to make it work in very simple case as in teh demo on the wiki. In my case I have a list of records ("books") with different fields and each field has an InPlaceEditor. My problem is how to pass teh id of the record to the update action at the controller, I tried to define the
2005 Nov 20
3
rounded corners in rails apps ?
Hi all I like very much rounded corners and often used thee well known nifty Javascript approach for that, Recently I discovered Rico ( http://openrico.org), which does the same and is much simpler to use (don''t require additional css files) and is based on prototype.js. This is all very nice, but there is currently one problem, the latest Rico library seems to require prototype 1.3.1,
2007 Mar 25
2
Mongrel & Mint (PHP related)
Hi, Does anyone have the Mint stats package setup with their Rails application. I have uploaded Mint to the public folder, but when I try and request domain.com/mint/index.php the page is served as a download instead of being processed by mod_php. Im guessing this isn''t really a Mongrel problem but what I actually need to do is prevent Apache proxying certain requests to Mongrel.
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 =
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
2006 Sep 25
5
HTTP Parser (Regal)
Hi I was interested to see how Mongrel uses Lex/Yacc to parse the HTTP requests using a Regal generated parser. I downloaded the source but do not see the lex and yacc files...
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 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is giving me some headache: My development machine is windows and my deployment host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I wrote my own task for that. But does there exist any smarter way to get this automated ? I think Subversion offers some possiblity to declare a file as executable, but no idea
2006 Sep 04
11
balancer://mongrel_cluster
A couple of questions please: What is the benefit of having more than one Mongrel/Rails instance on the same machine, could one instance not serve as many requests as say three instances? Is Mongrel Cluster a Apache add-in (like mod_*) or a separately running load balancer which runs on a separate port, I could not work it out from the sample Apache config... |# Redirect all non-static
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 Mar 15
1
when to use mongrail plugins ?
Hi all I just went throught the docomentation of mogrel and I am wondering wht the plugins are good for. I understood how the work and I am comparing the situation to Lighttpd where mods are available for specific tasks. But in Lighttpd (or apache) those mods are running at native speed. But at mongrel, if the plugins are writte in ruby, couldn''t that code just be a rails plugin ? One