Displaying 20 results from an estimated 120 matches similar to: "Wrong story step running"
2002 Jun 06
1
Setting ACLs from Win 98 Clients
Hello,
I have samba installed on an updated installation of Debian 2.2. Using
kernel 2.4.18 with the ext2 ACL and EA patches. Samba is configured to
support ACLs. Win2k clients can update the ACLs on the server.
I have installed the Windows NT4 Server tools for Windows 95 onto a couple
of our Windows 98 clients. However, when we right click on an object, go to
the security tag and click the
2006 Apr 19
2
Beginner problem with foreign keys
Hi, I''ve been trying to get this to work all night. I''ve made some
progress by reading other posts, but I''m stuck now and can''t figure out
what I am doing wrong.
I have two tables: application_users and user_types. In my
application_users table I have a field named "user_type_id". At first,
I thought if I set up the foreign key with the correct
2006 Mar 22
1
How do you clean up this cryptic code?
So, I''m coding my school project in Rails.
There are two models, User and Restaurants.
I noticed that in Restaurants, when you use the belongs_to method, you
could specify the condition of the associated table. There are a few
types of users, in the user_type column of the users table - owners is
type 1, users are type 2.
So in my haste to hand in enough code, in the Restaurant model,
2003 Jun 10
4
Windows XP Machines (well mostly the XP ones) hanging
Hello Folks,
I will personally send $50(AU) of Pizza to anyone that solves this one :)
We have a network comprising approx 30 Windows workstations all logging in
to a samba machine running as a PDC. The main exported file system is an NFS
mounted file system, but this was happening back when this was an xfs file
system as well. ACL's are enabled. We are running Samba Version 2.2.8a. The
2013 Jun 18
1
How to Pass Jquery selected dropdown values and radio button values to controller
Hi,
I have an advance search page and its code is as follows -
I have written my code like this
<div class="container">
<%= form_tag search_index_path, method: :get do %>
<%= radio_button_tag ''user_type'', ''customer'' %><p>Customer</p>
<%= radio_button_tag ''user_type'',
2005 Mar 10
0
RE: Confused about extending the login generator ''user'' [fixed]
>> that should be "belongs_to :user_type"
Bingo!
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Jarkko Laine
Sent: Wednesday, 9 March 2005 6:59 PM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails] Confused about
2005 Mar 09
10
Confused about extending the login generator ''user''
I''ve been using the login generator ''out of the box'' for simple
authentication, and its been working fine.
Now I want to extend it by simply adding ''type_id'' field which links to
my ''user_types'' table, but I''m hitting:
#<ActionController::SessionRestoreError: Session contained objects where
the class definition
2008 Apr 09
3
form_tag and form_for cause #protect_from_forgery errors
Hey All,
I''m trying to do a simple form_for (and I also get it with form_tag)
and I''m getting the following error:
ActionView::TemplateError (No :secret given to the
#protect_from_forgery call. Set that or use a session store capable
of generating its own keys (Cookie Session Store).) on line #2 of
users/new.fbml.erb:
1: <h1>Welcome To Courses, Let''s Get
2006 Feb 02
1
circular table refs in activerecord
I cannot find this anywhere, and it is holding up a project. I have a
*very* simple rails app with three tables, one of which is the users
table:
users:
Column | Type | Modifiers
---------------+-----------------------------+-----------------
id | integer | not null default nextval(''public.users_id_seq''::text)
login
2009 Oct 29
4
Unknown column 'quotes.organisation_id' in 'where clause': SELECT * FROM `quotes` WHERE (`quotes`.organisation_id = 1036)
Hi,
I have a small app that needs to keep track of quotes, and
organisations. An organisation can either be the unit who finally
receives the goods (the end_user) or and intermediary (customer) (and in
some cases both)
An Organisation will (hopefully :) ) have many quotes; and a quote
can belong to an organisation, either as a customer or as an end_user or
both.
So the quotes table
2008 Apr 03
1
Anyone experienced RSpec/Autotest forgetting models?
Hi
Saving a controller spec frequently gives me this error:
52)
LoadError in ''UsersController GET /users with basic request params should
find all the user types''
Expected /home/amoran/Documents/becta/apps/Backend/app/models/user_type.rb
to define UserType
./spec/controllers/users_controller_spec.rb:299:
script/spec:4:
I have to Ctrl-C autotest before it will load again.
2006 Jan 06
6
NewbieQ: How do I refresh view after return from popup window
Hi,
I have this bitta code that is supposed to open a new window and allow
the user to create a new Organisation on the fly whilst editing a new
Person i.e. if the Organisation exists they can select it from the drop
down select. Otherwise they can click on the cute button and enter a
skeleton Organisation record. What I need to do next is refresh the drop
down select on returno the new
2010 Apr 09
3
"We're sorry, but something went wrong"
can anyone help with this???
/!\ FAILSAFE /!\ Thu Apr 08 16:58:27 -0700 2010
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize''
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen''
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload''
C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in `each''
2006 Nov 21
14
Starting from scratch
I have the following models:
===
class Person < ActiveRecord::Base
has_many :person_organisations, :dependent => true
has_many :organisations, :through => :person_organisations
has_many :person_categories, :dependent => true
has_many :categories, :through => :person_categories
end
class Category < ActiveRecord::Base
has_many :person_categories, :dependent => true
2009 May 14
3
Mysql query is not working
Please,
Can anyone help me to execute this query?
SELECT * FROM table WHERE customer_id IN (SELECT IF(1 <> 2,''SELECT
customer_id FROM customers'',''SELECT customer_id FROM company''))
Regards...
--
Posted via http://www.ruby-forum.com/.
2006 Nov 20
22
Index only partially built
I have an application which I''m running using Mongrel and Apache as
described here http://www.napcs.com/howto/rails/deploy/.
I have a model Person which I am attempting to use acts_as_ferret with.
When I first try to do a search the index begins to get built but it its
fails halfway through with the following error in the browser:
===
Proxy Error
The proxy server received an invalid
2006 Apr 04
2
Sharing controller code between views - best practices?
Hi,
I have controller code that needs to be shared between
multiple different user type views and want to know
what is considered ''best practice'' or what other
people are doing out there.
Example: I have admin users, salesperson users, and
possibly another type of user. They all need code to
add/edit/delete a property - and other abilities. The
code would be identical(in
2013 May 29
0
"Unable to optimize" error returned in factanal using R-3.0.1, Windows 64 bit, and OpenBLAS
Hello,
I have been trying for weeks to compile a 64-bit Rblas. I started with ATLAS where I have had success in the past, but 64 bit was not behaving, and as each compilation takes between 9 and 12 hours, "test, check, and revise" was not going to be really viable. I therefore switched to OpenBLas (OPBL). I was successful in compiling R-3.0.1 and an OPBL-based BLAS for Windows 64bit
2001 Apr 21
0
Re: PR#886: Error (?) in documentation of 'swiss'
>From k.j.mcconway@open.ac.uk Wed Mar 28 16:46:49 2001
Hardly crucial, but I've come upon a potential error in the documentation
of the 'swiss' datafram in the R base package. The description accurately
matches what is said in the Mosteller and Tukey source quoted, but
according to the data archived at Princeton (links from
http://opr.princeton.edu/archive/eufert/switz.html), the
2001 Apr 21
1
Re: PR#886: Error (?) in documentation of 'swiss'
No, you're quite right, I was wrong. I must have been very confused when I
put up the first 'bug' report, #886. I noticed my error a couple of days
after and put up a comment to that effect on R-bugs, but it seems to have
vanished (or alternatively I did that wrong as well). I agree with you on
the criterion for the choice of districts as well. There remains a minuscule
discrepancy