Displaying 11 results from an estimated 11 matches similar to: "Syntax Problem"
2012 Feb 28
8
getting error:undefined method 'current'
hi all,
i am getting an error ''undefined method ''current'' for 852:Fixnum'', the
error coming for following line
<%if @expert_pagination.current.previous%>
<a href="#" class="darkgray1"
2007 Oct 11
9
Mask Initial Processing with Ring Back Tone
I need to process a number of lines of code in the dialplan before answering a
call. Can standard ring back tones be played to the caller while this is
happening prior to answering the call. Which commands would facilitate this?
Thanks in Advance,
Vic
2006 Aug 14
5
Tutorial for Queries
Hi! I''m looking for a good tutorial that explains the main points of
performing queries with Rails. I do have AWDWR and have read the
section on ''find'' but I''m looking for something that goes into more
detail on how to perform queries across tables.
Abstracted from my current application, this is an example:
* person has_many sites
* site has_one room
*
2009 Feb 02
2
parsing problem
Hi all,
I am trying to parse a vector for caliculating minimum in that vector the
vector having values like
1 Kontrolle
2 Placebo
3 125mg/kg
4 250mg/kg
5 500mg/kg
6 1000mg/kg
hear i tries for comverting it into numeric with using "as.numaric()"
function
but i got values like
5
6
2
3
4
1
it gives 1000mg/kg is the least one
but i have
2003 Nov 10
0
Cannot access shares
Hi everybody!, I installed Samba w/Active Directory Support with the
instructions Ron Gage sent to the list yesterday, everything works fine,
I can join to the domain, if I make a wbinfo -u I can see the users of
the domain etc...
I start winbind with:
[root@Linux01 samba]# winbindd -i -s /etc/samba/smb.conf
winbindd version 3.0.0 started.
Copyright The Samba Team 2000-2003
Added domain NUMARDOM
2006 Apr 11
2
how to order by a related class???
Let''s suppose I have a books table and an authors table.
A book belongs to an author (to put things simply)
I want to browse the book list order by the author''s name.
In sql it would be like this (to make it clear)
select
b.id,
b.title,
a.id as authors_id
a.name as authors_name
from
books as b inner join authors as a on b.authors_id = a.id
order by a.name
the problem is that
2010 Jan 14
0
LOTURI DE CASA (500mp) CU VEDERE LA MARE, (in rate de 200E / Luna) LANGA PLAJA CORBU / PRET - incepand de la 5500
Stimate Domn (Doamna),
Imi permit sa va prezint oferta noastra de teren (loturi de 500mp) in apropierea plajelor Corbu si Vadu (10 km nord de Mamaia) langa viitoarea Statiune EUROPA, terenuri cu propunere intravilan, intr-o zona superba, ce cunoaste o dezvoltare accelerata in ultimii 2 ani, deschizand posibilitati avantajoase de investitie pe termen scurt si mediu sau ofera sansa
2006 Dec 04
10
Avoiding SQL Injection in :order?
This thread references:
http://www.ruby-forum.com/topic/90258#new
http://www.ruby-forum.com/topic/82349#143790
ActiveRecord''s find() method has built in ways to avoid SQL injection by
using the format
> :conditions => [ "user_name = ?", user_name]
Is there any such system for escaping injection in :order? It seems to
only take a string and feed it to the SQL
2010 Jun 21
4
Unknown action No action responded to 2. Actions: show
I''m trying to create a simple RoR application that shows me the records
inside my table, provided that it is an example I''m working on the "Head
First Rails" book.
When I try to retrieve the record I get the following message:
"Unknown action
No action responded to 2. Actions: show"
Why am I having that? And, how can I fix this issue?
Provided that:
1- I
2006 Jun 21
2
Mouseover Speed Issues
I''m having severe speed issues on our server (localhost is lightening
fast!).
Here''s the call:
<img src= <%= @pics[col].img_url %> height=80 width=60 onMouseover="<%=
remote_function(:update => "diag_box", :url => { :action => :preview,
:tit => @pics[col].mname, :desc => @pics[col].description })%>;">
It''s an
2008 Jan 11
0
the parameter is nil ?
Hi,
I use scaffold to create the task model controller and view, it
contains action as "show", "new", "create", etc.
Then, I give an "id" parameters to the view - new.rhtml, so the URL
could be like "http://localhost:3000/tasks/new/1" , and I wish when I
click the create button in "new.rhtml", the following "create"