Displaying 3 results from an estimated 3 matches for "chovy".
Did you mean:
chevy
2013 Nov 22
2
init script status checks and puppet
...:///modules/nodejs/node'',
}
service { ''node'':
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
require => File[''/etc/init.d/node''],
}
}
/etc/init.d/node is https://github.com/chovy/node-startup with some minor
variations for my specific environment.
Again, everything works great when I run it manually but falls down when I
throw puppet at it. Any advice, more debugging angles I could take?
--
You received this message because you are subscribed to the Google Groups "...
2007 Dec 31
2
episode 73 resulting in error: undefined method `stringify_keys!' for "33":String
I''m working with a similar model in Episode 73, (my scenario is
editing multiple pictures for a product using attachment_fu).
And I''m getting an error when I try the technique suggested:
./views/admin/_form.rhtml
<% for picture in product.pictures %>
<% fields_for "product[picture_attributes][]", picture do |
picture_form| %>
Title: <%=
2007 Dec 27
4
validates_file_format_of only when is there an image
i have a model with this:
file_column :image
validates_file_format_of :image, :in => ["gif", "png", "jpg"]
If inthe form the user not insert the image i receive an error.
If i remove:
validates_file_format_of :image, :in => ["gif", "png", "jpg"]
it works.
Is possible do the validation only when user insert the image in form?
i