Displaying 20 results from an estimated 1000 matches similar to: "Rails & Mongrel & Lighttpd > NameError in Production"
2009 Nov 01
1
please help - complicated polymorphic association
I am trying to build a shared-appointment system, where users can
subscribe to appointments and be updated whenever changes are made to
them. I have three objects in this system, appointments, users, and
subscribers. Subscribers are a polymorphic object like so:
class Subscriber < ActiveRecord::Base
belongs_to :user
belongs_to :subscribable, :polymorphic => true
end
The tricky part is
2008 Sep 06
6
Active record question
I''m not quite sure how to get at this data using Actrive record.. I''m trying to get all the appointments made for a particular project. I''m using four models, Projects, Tasks, Resources and Appointments.
The SQL gets me what I''m looking for but how do I do it using Active Record?
Select a.* from appointments a
join resources r on r.id = a.resource_id
join
2006 Mar 29
3
Redirect Post for Hiding ID?
I have a situation where I want to show the user details about an
appointment they entered. They enter their name, phone number(s) and
other private data in a form. I save that data in the controller with
a POST from a "confirmation" page.
I could simply show the params when that page is rendered (the save
one), but if they use the browser refresh it''ll save the data again.
2006 Jan 18
3
Documentation for scaffold / views
Apparently a scaffold creates at least one instance variable for views
to use, and if I override the scaffold then I must also explicitly
create that instance variable for the view. I''d like to know exactly
what work is performed by the scaffold so that I can know this when
over-riding the view. (OR, is it that the controller makes these
variables available by default?..)
EXAMPLE:
2018 Jul 25
1
Which is better? Microsoft Exchange 2016 or Linux-based SMTP Servers?
> [...] People want their phone to
> remind them of their appointments [...]
It's a generalization. Not valid for all people.
Maybe SOME people want their phone to remind them of their appointsments.
My appointments are synchronized from owncloud to Thunderbird and to
many (LineageOS-based) smartphones and tablets and >>I<< do NOT want to
be reminded on the smartphones
2013 Apr 26
2
looking for a way to do appointment reminders
Hello,
My health care organization is looking for a way to do appointment
reminders. We currently have staff members who spend part of each day
manually calling patients to remind them of their upcoming appointments,
and we would like to automate this process.
Our electronic health record software would provide such information as
the patient's name, phone number, and day and time of
2007 Aug 14
12
ruby on rails web calendar
Does anyone know of a good web calendar that you can use to display
appointments, dates, anniversaries, birthdays, recurring appointments,
appointments spanning multiple days?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2005 Feb 18
0
JOBS: Lecturer/Senior Lect/Assoc Prof at Auckland New Zealand
(Apologies for cross-posting)
JOBS: Lecturer/Senior Lect/Assoc Prof at Auckland New Zealand
(North American equivalents are Assistant, Associate and full Professor)
The University of Auckland's Department of Statistics is the largest and
most active in New Zealand and one of the most active in the southern
hemisphere. It has approximately 30 academic staff of whom 20 have
positions that
2011 Dec 10
1
ActiveRecord time and datetime
Hi,
Suppose I have a model class which has a time field:
class CreateAppointments < ActiveRecord::Migration
def change
create_table :appointments do |t|
t.string :name
t.datetime :startTime
t.datetime :endTime
t.string :description
t.timestamps
end
end
end
When I test drive it in rails console, I can input any value int he
startTime and endTime such
2007 Oct 07
22
Differences in execution between console and app
class AppointmentBook < ActiveRecord::Base
has_many :appointments
def lookup(date, look_ahead = 27)
return nil unless block_given?
(date..date + look_ahead).each do |date|
yield(date, appointments.find_all_by_date(date))
end
end
end
The line with yield is throwing the error:
undefined method ''each'' for #<Date: 4908761/2,0,2299161>
A YAML
2008 Oct 28
3
Dose Profile
Hi Everyone,
I have data in a long format e.g. there is one row per patient but each
follow-up appointment is included in the row. So, a snippet of the data
looks like this:
TrialNo Drug Sex Rand Adate1 Date1 Dose1 Time1 Adate2 Date2 Dose2
Time2 B1001029 LTG M 15719 30/04/2003 15825 150 106 29/08/2003 15946 200
227 B1117003 LTG M 15734 30/04/2003 15825 200 91 03/09/2003 15951 250 217
2005 Aug 11
3
is this possible with asterisk?
Hello Everyone!
I'm wondering if the following is possible with asterisk...
What i'm trying to do is find a program or a solution that can help me set
appointments for a delivery company...
the program should call a person asking them if the following time is suitable
for a delivery... if they agree, they press one and the system logs it... if
they don't agree they press two, etc...
2005 Sep 01
1
Asterisk run problem, was working, rebooted server, now nothing
I've copied over all the asterisk configuration settings. There was nothing decent to see in the logs, so I didn't copy those.
http://zanshin.tsumelabs.com/
The system was working a couple days ago until I had the server rebooted.
there are 2 zap cards, both are working fine, all lines are able to recieve phone calls.
The problem is callers call the building and they are
2006 Jan 16
1
making wakeup feature call phone number, not extension?
How would one go about setting up the wakeup feature of Asterisk to NOT
call an extension, but to call a phone number?
My setup works great for wakeup on local extensions, but I'd like to set
it up to call external phone numbers automatically and play a specific
sound file (to remind people of upcoming hair stylist appointments).
I suppose either there'd have to be a web interface to
2016 Nov 03
2
Thunderbird vs. Evolution vs. OwnCloud
Le 03/11/2016 ? 08:41, Sorin Srbu a ?crit :
> I use Thunderbird exclusively on my linux-systems.
> I also feel the Lightning-addin for calendars in T-bird needs "some" work to
> be usable.
>
> While I don't use my Owncloud for mail, only used as a cloud storage, I have
> however used Evolution. In that context Evolution with CentOS sucks. It's just
>
2006 Jun 30
1
using routes.rb from inside a controller / render_component_as_string / generally stumped
Hi,
In an action I have a string representing a url for a get request. A
simple and seemingly ridiculous example might be something like the
following. What I''m trying to do is much more complicated but I think
this tiny example shows where I am stuck.
Into their browser a user types
"http://my.domain.com/admin/category/updates". I have a controller
roughly like the following
2006 Jan 15
2
scaffold suddenly pluralizing names
I haven''t updated rails today and all of a sudden scaffold is
pluralizing my names
ruby script/generate scaffold Admin::Category
produces
class Admin::CategoriesController < ApplicationController
Do I really want "CategoriesController" instead of "CategoryController"?
Thanks,
Peter
2008 Aug 26
4
syncml with server push email
Any recommendations for server push email using syncml and dovecot?
I am familiar with Funambol for syncing pim info, but not used it for email.
Are there any recommended opensource or commercial syncml servers that are
known to integrate nicely with Dovecot 1.x? Googling hasn't really turned up
much in the way of useful info.
To mix it up a little, I was using Funambol for the Pim
2006 Sep 28
1
Yet more printing troubles
I've gone through the docs and the how to's. I've installed a printer
under cups, in fact under cups it was a breeze. Its a Sharp MX4501. I
have a ppd file for it, it works great from my linux workstation.
I've set up a printer share under samba on my domain controller. The
windows machines find it, download the driver and then give the error:
"The 'Sharp-4501'
2005 Oct 19
4
ER strikes back
Hi Railers,
A long, long, time ago, i made a Framework/CMS in php.
There were two core models: Content and Content_type.
Content_type was only a list of content types (as expected): new, article, etc.
Content_type was not mandatory, but it allowed later to "deactivate"
types of contents, for example.
So then Content stored the common attributes/properties between the
different content