Displaying 20 results from an estimated 900 matches similar to: "Blank page output :("
2007 Aug 21
2
using restful_authentication current_user inside controller specs
I''m using restful_authentication in my app and I have the before filters in
my application rhtml:
before_filter :login_required
around_filter :set_timezone
around_filter :catch_errors
Currently I have them commented out while rspec''in but I''ll need to add them
in my specs.
def create
@ticket = Ticket.new(params[:ticket])
@ticket.user = current_user
if
2007 Jun 14
1
rspec will_paginate
Hi Rspec-Users,
I''m not sure if I am correctly specing my index since I''m using
will_paginate.
params[:filter_by] will filter the paginate list accordingly.
Tickets Controller:
def index
@tickets = Ticket.filter_status_by(params[:filter_by],params[:page])
end
Ticket Model:
def self.filter_status_by(status, page, per_page = 10)
conditions = {:status => false} if
2006 Nov 03
6
How to send data,
Hello,
First of all I''m new to working with sockets,
so the problems I''m having are probably because of my lack of understanding.
What I''m trying to accomplish is to create a mac os x client gui to ruby-debug.
When a application that includes ruby-debug is started,
it starts listening for 2 connections; 8989, 8990
The connection is made by calling the connectToApp
2007 Aug 17
11
[rspec] looking for a simple refresher
I''ve been off the rspec for a few months and I''m trying to get back on it.
1)
Spec::Mocks::MockExpectationError in ''TicketsController handling POST
/tickets should create a new ticket''
Mock ''Ticket_1001'' expected :new with ({}) once, but received it 0 times
./spec/controllers/tickets_controller_spec.rb:16:
script/spec:4:
class
2007 Nov 17
7
Using RSpec to drive the design of a GUI desktop application
Hello everybody,
I''ve been using RSpec as a tool to create web applications for some time
now, in Rails, and using plain Ruby with WEBrick as well. The tool suits my
needs and the story runner is great.
Now there are things that aren''t solvable on the web, you''ll need a _real_
desktop application for those problems.
So I''ve toyed a bit around with various GUI
2009 Jun 12
2
Fail to start a lower Version ( Rails 1.1.6) Rails Project
I have a RoR project in rails version 1.1.6.
Just to start this project i just install rails of version 1.1.6
but when i am going to start to start the server then i got the
following error..
D:\simpleticket>ruby script/server
./script/../config/boot.rb:25:Warning: Gem::SourceIndex#search support
for Strin
g patterns is deprecated
./script/../config/boot.rb:28: undefined method
2006 Aug 14
2
ActionPack: number_to_phone error
Question about the number_to_phone function as provided by rails in actionpack:
http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html
If I do this in my controller:
num = number_to_phone(params[:phone_number])
I get this error:
undefined method `number_to_phone'' for #<TicketsController:0xb7a2bfcc>
Whereas if I do this in my view:
<%
2006 Jun 16
0
Polling pop3 and adding emails to ticket system
Hi guys,
Im trying this code below to poll the pop3 mailbox, which i can do as a
standalone .rb file which copies the files to inbox/ but now im trying
to do the same for the controller to open the emails and add the content
to the ticket system.
but all i get is error, can somebody enlighten me?
class IncomingMail < ActionMailer::Base
def receive(email)
@ticket = Ticket.new
2006 May 11
4
Ticket/Issue support system
Hi
I am looking for a Open Source RoR-based system for handling support
issues for our customers.
I needs to be simple so that the end user easily can add support issues.
We also need to administer the issues (assign to developer/support
person), schedule, and list issues (tickets).
I have found SimpleTickets, which seems to be a good alternative, but I
would like to know if any one else out
2012 May 11
0
help with SMATR: help with pairwise comparisons using MA regression?
Hi there,
I've been using the SMATR package to do standardized major axis (SMA)
regression on allometric data, and I've been able to to pairwise
comparisons of slope & elevation between multiple study sites.
Now I'm trying to do the same thing using major axis (MA) regression,
but I'm getting errors (SMATR should be able to do MA as well as SMA
regression for everything,
2003 Feb 27
2
PRESS again
Sorry for the repeat.
The PRESS statistic is defined as
sum(y-yhat(i))^2, where yhat(i) denotes the ith predicted value using
all the data except the ith case (as used typically in linear models).
Thanks again
Jacob
Jacob L van Wyk
Department of Mathematics and Statistics
Rand Afrikaans University
P O Box 524
Auckland Park 2006
South Africa
Tel: +27-11-489-3080
Fax: +27-11-489-2832
2012 Jun 26
3
plotting two histograms on one plot with hist function
I would like to plot two data sets (frequency (y-axis) of mean values for 0-1(x=axis)) on a single histogram for comparison. The hist() only allow the overlay of two histograms, and although barplot() allows beside=TRUE, it does not show frequency values (like hist) but rather all of the values. Is there any way that I can use the hist() to plot two data sets similar to the barplot(). Any help or
2002 Oct 16
4
does smbmount use keepalive and/or smb.conf?
Greetings,
I don't know how common an issue this is as I haven't
found much in the list archives that was helpful to
me, so I'm hoping for some pointers.
FYI, we have samba 2.3.3a-6 running on the 2.4.18-10
kernel.
There seems to be an issue with smbfs mounts at times
where connectivity may be lost (e.g. Win share becomes
unavailable) causing local processes such as lsof or
ps,
2012 Jul 24
1
Problem building dll in R-2-15-1
I am using R-2-15-1 with latest version of RTools under Windows 7 on a 64bit machine. When trying to build a dll from a simple test program matm.f I get the following error:
> R CMD SHLIB matm.f
gfortran -O3 -mtune=core2 -c matm.f -o matm.o
f951.exe: out of memory allocating 312 bytes
make: *** [matm.o] Error 1
Can someone please help
NJ
________________________________
2006 Jan 27
2
DB & AR advise please (diagram inc)
Hi,
Being new to Rails and Active record could someone please check my
database diagram:
http://spectrais.com//images/0.png
I am building a trouble ticket system for my company. Simply put a
client has many users. Those users can create trouble tickets. Each
trouble ticket can have many journals that track the progress of the
ticket. An employee (of our company) can take ownership of a
2020 Jan 05
3
(no subject)
Dear all,
Please let me start by indicating that I am not from a technical
background, so please be gentle and patient with me.
I am trying to get a snapshot from my virtual machines (vm) and the
following
command works for all of them bar one:
# virsh snapshot-create-as --quiesce --no-metadata --domain myvm myvm-state
--diskspec vda,file=overlay.qcow2 --disk-only --atomic
The only exception is
2004 Apr 20
1
RES: Samba 3.0.2a with ADS w2k3 Active Directory, enctype s
Hi Jim,
I did what the doc says but the problem is the same.
Does anybody saw this work ? I mean, is the Samba 3.0.2a+Kerberos MIT 1.3.3
able to be accessed by a WXP, W2K or W2K3 machine, using Kerberos tickets
generated in a Windows 2003 KDC (W2K3 AD) ?
Thanks
-----Mensagem original-----
De: Jim McDonough [mailto:jmcd@us.ibm.com]
Enviada em: segunda-feira, 19 de abril de 2004 17:07
Para:
2006 Jun 13
2
Bug tracking plugin for ROR?
Hi,
Is there a plugin for ROR for bug tracking.
I need it for lite use.
I thoght using typo or something, but still want to know if there is something.
Thanks,
Kfir
2011 Jul 29
5
coordinates from locator function in POSIXct format
Dear R-list,
I have a plot with y-axis corresponding to wind measurments
and x-axis with date-time information.
When I want to identify some extrem wind events in the
wind-curve, I use locator() to get the exact
date-information, by clicking in the points in graph I?m
interested in.
I get in the R console the x and y coordinates.
The x coordinates are not in a POSIXct format, I guess R is
2007 Dec 26
3
fileserver RE bug in 0.24.1
I tried to open a Trac ticket on this, but the menus are not working for
some reason right now. I''ve noticed this in our puppetmasterd logs
since upgrading:
puppetmasterd[7943]: Could not call: nested *?+ in regexp:
/^\/var\/www\/html\/download\/NSClient++-0.2.7.zip/
Seems like the data passed should have RE characters quoted (ala \Q...\E
in Perl) prior to this test.
Regards,
Mark