search for: mytempl

Displaying 6 results from an estimated 6 matches for "mytempl".

Did you mean: mytemp
2006 Jan 21
3
help... why can''t Iuse data from two tables in the same view
.....) - which is what I expect; and I can easily dump out individual values in the view, eg @newex[''objectives_note''] gives me = "To test the system" which is correct. Template Items. Then in the same ''hello'' method in the setup controller I define @mytemplate: @mytemplate = Template.find_by_sql(''select * from templates where exercise_id = "1"''). (in other words, trying to access the other database table.) I have included "model :template" in the setup controller and also in the application controller. Also, t...
2013 Jan 25
4
store pdf directly to amazon
Hello Everyone, I am using wicked pdf and rails 3.2.8. I can generate pdf (html to pdf). How can i store my pdf file into amazon s3 without storing in *Local.* * * *Please help* -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2007 Jun 20
0
ANNOUNCE: 0.23.0 release
...e ''defined'' function so that it can test whether a given resource has been defined: if defined(User[luke]) { ... }. (Really, this was a grammar fix.) Functions can now accept other functions as arguments: $content = generate("/usr/bin/validate", template ("mytemplate.erb")). - Significantly reworked external node and ldap node support (see thread from last week[3]). - Significantly rewrote the ActiveRecord export/collect support. You''ll need to recreate your database, but things should be much faster now. Please look through the Chang...
2007 May 01
3
Setting variables for a "group of nodes" - how to approach?
Trying to learn Puppet, given a cfengine background. Am trying to understand the Puppet way of accomplishing the following: I have a lot of servers, that are organized into clusters (we call them silos). Each silo has a specific set of parameters (like IP addresses). I''d like to organize the silo information in some way that each server is associated with that information, and can
2011 Nov 04
2
problem with templates
I am having an issue with templates that I cant quite figure out why it is having an issue. I am using ruby dsl to read a template from a database and it keeps having problems with anything other than <%= var %> type definitions. I even went as far cutting and pasting from the puppet online documentation just to see if it were maybe something I goofed. I pasted below the tested template
2013 Apr 11
3
puppet-lint -- learning stuff about style but also generating questions
Here''s one I learned: I originally had # Ensure /etc/hosts contains the basics host { "${fqdn}": host_aliases => $hostname, ip => $ipaddress, } And thru some trial and error, got down to this (which puppet-lint does not gripe about) # Ensure /etc/hosts contains the basics host { $fqdn: host_aliases => $hostname, ip => $ipaddress, }