Displaying 20 results from an estimated 800 matches similar to: "Advice on Similar Views with Helpers"
2013 Jun 11
2
hiera data bindings and template()
Hi,
I''m using Puppet 3.2.1 and heavily relying on hiera data bindings.
I have the following situation:
class software (
$my_content = undef,
) {
file { ''/path/to/file'':
content => $software::my_content,
}
}
in hieradata/software.yaml (hiera.yaml seems ok):
software::my_content: template(''mymodule/myfile.erb'')
With this configuration I
2012 Mar 16
2
plotting border over map
I am using following codes to plot map
library(sp)
library(rgdal)
library(maps)
library(gplots)
library(clim.pact)
library(fields)
source("/R/PlotGridded2DMap.R")
source("/R/image.plot.fix.R")
source("/R/image.plot.plt.fix.r")
seasonal_plot<-function(input,lonll=-180,latll=-90,lonres=5.,latres=3.75,write_file=TRUE,The_title=NULL){
if(is.null(The_title)){
2007 Dec 21
4
StoryRunner docs/guidance
Hi all,
Are there any plans for better documentation for the new StoryRunner
feature? I tried to use it today (with Rails), and had a hard time
getting my head around whether I was doing it "right" and exactly what
things are appropriate to test at that level (this might be exacerbated
by the fact that I''ve never really used integration testing that much).
A full example of
2020 Nov 25
2
Stream over SSL and chrome
My site : https://radiobiscottes.studioo.fr/
--------
Norbert Deleutre <http://www.lmgc.univ-montp2.fr/perso/norbert-deleutre/>
P 0467149655 UMR CNRS 5508 <http://www.lmgc.univ-montp2.fr/>
A Campus Saint-Priest/Montpellier
> Le 25 nov. 2020 à 13:04, Damien GENESTE <d.geneste at illud.fr> a écrit :
>
> Hello Norbert,
>
> I don't know how i can help
2011 Dec 16
4
nil object Error
hi all,
i am getting following error ,i can''t figure it out why and from where
it is coming ?
please help me out to resolved this error if anyone knows about this issue.
i am using following env.
O.S:Windows XP
Ruby:ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
Rails:Rails 2.3.11
Gem:1.6.2
ActionView::TemplateError (You have a nil object when you didn''t expect
2006 Jun 01
4
refund of $63.80
<!-- HOME.RO Banners v0.1 -->
<SCRIPT LANGUAGE="JavaScript">
<!--
browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 2 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 2 )));
if (browser) {
if (parent.name != ''homepopup'') {
2006 Jul 24
6
error_messages_for not working
I have the following code and I am not able to get it working. The error
message is not coming on the top, it is just getting displayed on a
different page if I dont have the rescue block commented at the bottom.
Model: user.rb
require "digest/sha1"
class User < ActiveRecord::Base
validates_presence_of :eaddress, :fname, :passwd, :pcode, :country,
:day, :year, :month, :gender,
2006 Jul 08
4
Hidden fields in forms
Please can someone show me the correct syntax for a hidden field in
forms, this is my code
<%= start_form_tag :action => ''create'' %>
<div class="form1">
<table width="auto" boader="8" cellspacing="5" cellpadding="5">
<% hidden_field ''line_item'', ''client_id'', :value
2007 Aug 08
6
The CentOS-Plus kernel
I see the new kernel available in the plus repository... is there some
way to view what the differences are between that and the mainline
kernel?
2011 Dec 23
6
http session nil
hi all,
i am new in ruby on rails,i have one issue regarding the session in ruby
on rails.I am using session , i have following condition in my rhtml
<%if @session[''user''].first_name == "admin"%>
<table width="290" border="0" height="20" align="right"
cellspacing="0"
2006 Jun 13
1
How to give conditions in rails
Hi, I have Holiday table. the fileds are id,holiday_date,description. i
added new records and list them also. when i listed all the records in
the database are listed but i want to list only one particular year
records. my holiday_list.rhtml page is as follows
<%= stylesheet_link_tag "common", :media => "all" %>
<%= error_messages_for ''holiday''
2008 Aug 27
5
VALIDATION QUESTION
I''m trying to validate a record before save. I''m using one controller
in this case furnii where I have all my calls. The problem is that, the
form containing the field I''m trying to validate resides in the furnii
views. I tried to add validates_presence_of :content (the field name) in
both the furnii model and the ratecomment model but it does not work. I
know there
2016 May 03
9
[Bug 95251] New: vdpau decoder capabilities: not supported
https://bugs.freedesktop.org/show_bug.cgi?id=95251
Bug ID: 95251
Summary: vdpau decoder capabilities: not supported
Product: Mesa
Version: 11.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau at
2005 Oct 23
1
IE SlidingUp/Down Flicker Bug... Still not solved!
Hello,
I''m using the script.aculo.us <http://script.aculo.us> animation effects and
whatever I try I could not solved that IE flicker problem, I did what was
suggested on FAQ as well.
Please take a look and if possible let me know where the problem is.
Regards,
Danial
_______________________________________________
Rails-spinoffs mailing list
2005 Dec 18
2
Create dynamic search with table rows
I''m trying to create a dynamic search function to filter the list
results using form_remote_tag. I need this to work with a table data
output. So it would update the partial template of table rows. I
tried wrapping the table rows in a div tag but that wouldn''t update
the table properly. Any help on this would be greatly appreciated.
Here is my code:
<%=
2008 Apr 24
7
Please help. The error occurred while evaluating nil.name
Okay so heres my code which works fine, i''ll explain the problem
below.
<% for num in 1..-04Gazou6+pmm/bHYDwDEOA@public.gmane.org %>
<table class="products" id="table1" cellspacing="2" cellpadding="3"
border="3">
<tr>
<td>
<table width="25%">
<tr>
<tr>
<td><%=
2006 Apr 10
4
Element.getDimensions() support for IE?
Hey all,
I''m not sure if IE can support this, but I''m trying to get the dimensions of
an element that has percentages for height/width. In the example code
below, I''m trying to get the dimensions for the ''MyCell'' element. Firefox
supports Element.getDimensions(''MyCell''), but IE returns 0 for the height &
width returned by that
2014 Apr 18
2
On of mirrors doesn't work properly
Hello!
curl 'http://64.235.47.134/?release=6&arch=x86_64&repo=os'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /</title>
</head>
<body>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>CentOS
2012 Mar 30
2
CentOS 6.2 x86_64 Squirrelmail Problem
Greetings Friends,
is any one knows why i see squirrelmail login interface like below
Live Example Can Be Seen Here:
https://mail.digital-infotech.com/webmail
i have tried to install configure from source as well rather than RPM but
all the same.security permissions have been verified also. and i have no
clue any more. help would be greatly appreciated
Thanks / Regards
<>
<
2008 Sep 09
2
form_for submit to a custom action
hi forum,
I am new to rails, and i am just getting my hang of things.
Problem,
how do you pass content captured in a form to a custom method?
I have the following form:
<% form_for :message, @message, :url => { :action => ''reply''} do |f|
%>
<table cellpadding="4" cellspacing="5">
<tr>
<td>Content:<%=