Displaying 19 results from an estimated 19 matches for "veiw".
Did you mean:
vein
2009 Sep 04
1
Hod do you call a method to the veiw?
Lets say I did
script/generate controller home
And in the home controller made a the method..
def say
puts "You are here"
end
How would I call that method in the index.html.erb?
When learning ruby it just said to run the whatever.rb in the terminal
to run what ever code you wrote within that file. Just curious on how
that
would work with rails.
--
Posted via
2006 Apr 16
3
AJAX multi actions?
How can I do something like this:
<a id=a7 style="cursor: pointer;"
onClick = "new Effect.Fade (''li'');
Element.show(''a1'',''a2'',''a3'',''a5'',''a6'');
onClick = "new Effect.Fade (''rp'');
2006 May 31
1
Automatic .santize?
Hello and thanks in advance to those who post back,
I''m working on a calender but, it renders the data in the controller
then saves it as @code so I call it in the veiw <%= @code %>. So
everythings working and I add this line..
@event =
Event.find_by_date("#{@temp13.year}-#{@temp13.month}-#{@temp13.day}")
if @event == nil
@@td = "<td width=50 height=50
valign=top><small><b>#{@temp13.to_s[0,3]} |
#{@temp13.day}</b>&...
2006 Mar 13
7
Problem with params
I''ve got a User model, which holds the following (excerpt):
def try_to_authenticate
User.authenticate(self.username, self.password)
end
..
private
def self.hash_password(password)
Digest::SHA1.hexdigest(password)
end
def self.authenticate(username, password)
@user = User.find(:all, :conditions => ["username = ? AND
password = ?",
2018 May 22
2
RSAT Hang
...hould_ have the correct privs to do what's required, right?
Obviously, the "Administrator" account won't have any file-system privs etc, unless properly granted. But I'm not [at least as far as I know] doing any changes to the filesystem or files. I'm simply trying to add/veiw/change AD attributes. [i.e. Create/View/Change attributes in a user/computer in Active Directory]
>> As to your prior message - the FreeNAS box isn't part of the setup
>> yet. I'm just trying to get the user and computer accounts I'll need
>> to join the NAS to AD rea...
2003 Apr 23
2
Revised example configurations available
Judging from log analysis, there has been in the past some interest
in the Asterisk example files that I have made available from my
experimental platform (home office) so I've put my newest versions up
on my site. Feel free to dig through these and cut pieces up for
your own use, or just marvel at the bad logic flows. :)
http://www.loligo.com/asterisk/current/
JT
2008 Aug 06
0
Samba with cups. when cups shutingdown client view nothing
hi list,
I have installed a samba with cups for share all printers on network.
When i stop the cups server i was thinking that the windows client veiw
their print device as on error however the client view nothing. All printers
are allways shared?
when i send a print job on a queue the client says nothing on error and the
jobs is not stored in /var/spool/samba and of course it's not printed
When i do refresh from Windows clients i always see...
2012 Apr 22
1
Survreg
Hi all,
I am trying to run Weibull PH model in R.
Assume in the data set I have x1 a continuous variable and x2 a
categorical variable with two classes (0= sick and 1= healthy). I fit the
model in the following way.
Test=survreg(Surv(time,cens)~ x1+x2,dist="weibull")
My questions are
1. Is it Weibull PH model or Weibull AFT model?
Call:
survreg(formula = Surv(time, delta) ~ x1
2007 May 24
1
video quality problem, encodeing with ffmpeg2theora -p pro
Hello all and thanks,
I have encoded several .vob with " ffmpeg2theoar -p preveiw " with no
problems at all. The quality is exellent. These .vob were ripped with
vobcopy.
The problem I am having is when I encode a .vob with " ffmpeg2theora -p pro ".
The resulting .ogg will not play correctly with vlc or kaffeine. The vedio
is jerky and the sound go out of sy...
2008 Jun 14
1
help with collection_select
Hi,
I have a table called ''users'', there is a field called ''username'' and
another field called ''mobile_number'' (among other fields).
In my application the user can send SMS message and can choose between
his/her username and mobile number as the sender id. Both of them are of
course stored in the users table. Also there is a third option which
2007 Jun 17
2
[holger@layer-acht.org: participate in DebConf7 from abroad]
----- Forwarded message from Holger Levsen <holger@layer-acht.org> -----
Date: Sat, 16 Jun 2007 17:54:14 +0100
From: Holger Levsen <holger@layer-acht.org>
Subject: participate in DebConf7 from abroad
To: debian-devel-announce@lists.debian.org
Mail-Followup-To: debian-devel@lists.debian.org
Hi,
as many of you are aware, today is DebianDay, the preceeding event to
DebConf7, taking
2005 Jul 07
6
remove wins entries - samba 3
Hi,
I am having the same problem. Did you figure out how to do this? Any
help in how to remove stale WINS entries from Samba would be greatly
appreciated.
Cheers,
-farshad
2006 Mar 22
0
Another Problem with params
...ail.com> wrote:
>
> Hi,
>
> In your model you could explicitly state the relationship
>
> class Student < ActionRecord::Base
> belongs_to :department, :class_name="department", :foriegn_key => ''department_id''
> end
>
> Then in the veiw use
> <%= text_field "student", "department_id" %>
>
> or similar for a select box.
>
> I had similar problems when I was trying to get a form working and found that by doing this it worked. I think there is supposed to be some rails magic that does this fo...
2018 May 22
0
RSAT Hang
...rivs to do what's required, right?
>
> Obviously, the "Administrator" account won't have any file-system
> privs etc, unless properly granted. But I'm not [at least as far as I
> know] doing any changes to the filesystem or files. I'm simply trying
> to add/veiw/change AD attributes. [i.e. Create/View/Change attributes
> in a user/computer in Active Directory]
There is a big problem with that, to change the ACLs on a share (a
better name for the security tab would be 'NTFS permissions'), the user
doing the changes must be known to the OS. In yo...
2005 Jul 01
4
R integration with Microsoft Powerpoint
Please allow me an unusual question.
Is there any way that R can be closely integrated with a Microsoft
Powerpoint presentation? I would like to embed R calculations in
Powerpoint so that I will start Powerpoint, be prompted to enter some
parameters, and an R function will run and return values and graphs.
Thanks,
John
R 2.1.1
windows 2k
John Sorkin M.D., Ph.D.
Chief, Biostatistics and
2005 Feb 02
0
ExtensionState problems using Manager.conf API
.... What I am
trying to is to use a .php page to query asterisk Manager and get the
ExtensionState for each particular extension. Then when it has the
answer it outputs an XML file for use as the directory on a Cisco 7960
phone. What I am thinking is that when the user hits the directory
button to veiw the directory that is at this URL it will show the
directory, but based on teh extenstion status it will show whether that
person in available or not. It should work pretty good as a blf, you
just have to request the directory again to get an updated status of
everyone that you are monitoring.
Th...
2018 May 22
2
RSAT Hang
RPvs> On Mon, 21 May 2018 17:15:21 -0700
RPvs> Gregory Sloop via samba <samba at lists.samba.org> wrote:
>> See Inline
>> LPHvBvs> Hi Gregory,
>> LPHvBvs> On the questions.
>> >> Is there a good reason to avoid Samba internal DNS?
>> LPHvBvs> No, imo not, but i only use bind9_dlz because i need bind in
>> LPHvBvs> my lan for
2018 May 22
2
RSAT Hang
...what's required, right?
>> Obviously, the "Administrator" account won't have any file-system
>> privs etc, unless properly granted. But I'm not [at least as far as I
>> know] doing any changes to the filesystem or files. I'm simply trying
>> to add/veiw/change AD attributes. [i.e. Create/View/Change attributes
>> in a user/computer in Active Directory]
RPvs> There is a big problem with that, to change the ACLs on a share (a
RPvs> better name for the security tab would be 'NTFS permissions'), the user
RPvs> doing the changes...
2001 Nov 26
5
Who else can reproduce this problem?
I truely believe I've stumbled across a bug deleting directories. The
bug is either with Windows 2000 or with Samba 2.2.1a and 2.2.2. I'd
tend to think it was a Windows bug except that the problem does not
occur against earlier versions of Samba.
I've duplicated this problem deleting directories to Samba versions
2.2.2 and 2.2.1a in various configurations running on several