Displaying 15 results from an estimated 15 matches for "showa".
Did you mean:
show
2006 Jun 21
2
computer outside domain can access resource to inside
Dear,
I have PDC Server running under Redhat 9 and use samba 2.2.7. It has running until now.
That I know, users cannot access resources in the network if they don't join to Domain. And, only administrator with root user+password can make users joined to Domain.
But, I have one problem.
There is one user, bring the private notebook. He create ip address (same with his office-computer),
2007 Oct 03
4
form_remote_tag :onsubmit not working.
Hi,
Has anyone successfully implemented the :onsubmit option for
form_remote_tag. It doesn''t seem to work for me. Is there any specific
version of rails which is required for the same.
Here''s my piece of code.
<script>
function set_tojid(){
alert(''onsubmit'');
}
</script>
<%= form_remote_tag :update => '''', :url => {
2007 May 11
5
options_for_select - how to set the selected value?
Ok, this should be simple but I am finding it''s not and previous
postings don''t seem to shed too much light on this.
I have a select_tag with 4 values pulled in via a helper:
def filter_hours
filter_hours = [
["1 hour", 1],
["24 hours", 24],
["7 days", 168],
["14 days", 336],
]
end
The select_tag looks
2007 Sep 17
8
DISTINCT?
This should be easy, but I''m stumped...
class X < ActiveRecord::Base
belongs_to :y
end
class Y < ActiveRecord::Base
has_many :x
end
The y table has a column names. The x table has a column value. I
want the list of values in x for the name "Location" in y. Yes, there
are many repetitions.
I can probably hack together an SQL statement to do this without too
much
2007 Oct 16
2
Primary Keys enforcement vanishes in test database
I use this naming convention for primary keys:
ActiveRecord::Base.primary_key_prefix_type
= :table_name_with_underscore
I generate the MySQL test database: rake db:test:prepare, and although
the column is there there is no primary key enforcement/index and no
autoincrement (so activerecord saves fail). Is this a bug? What is
the best workaround?
Alan
2007 Jun 13
3
date_select css options
Just looked at the Date helper in the rails API and noticed that none
of the functions there (i.e. date_select) allow me to specify html
options (i.e. class) for the generated selects.
I was wondering how do other group members css format date select
dropdowns?
Best,
Gabor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2007 Nov 29
4
collection.build or collection.create gives "ArgumentError: wrong number of arguments (1 for 0)"
I have a Project that has_many Tasks. Tasks belongs to a Project. When
I try the following:
project = Project.new
project.tasks.build
I get:
>> s = Project.new
=> #<Project:0x25f9e28 @attributes={"name"=>"", "end_at"=>nil,
"updated_at"=>nil, "published_at"=>nil, "user_id"=>nil,
2007 Oct 12
13
How to maintain Form State between Postback ?
Hi all,
I''ve trying to look for answers for my problem but so far couldn''t
find one, hopefully you can tell me what to do.
This problem is so ubiquitous to Web Development, pertaining the fact
that the web is stateless, i.e. how to maintain form''s state between
postback.
Basically, I have a form with some validations run for some of the
fields, whenever the user submit
2007 Jul 25
3
autotest + integration testing (follow_redirect!) error
I''ve got an interesting (possibly) problem right now between autotest
and rails integration tests. There are a few things to preface this
with.
Works fine:
rake test
rake test:integration
Blows up:
autotest
Autotest is correctly determining rails and runs tests just fine. One
part of the behavior is that if I save a change in just the
integration test (even hitting cmd+s to trigger a
2007 Oct 18
4
Polymorphic Association?
Hi there-
I''m a newbie to this board, RoR, and web development in general. So
please forgive me if this is in the wrong place or if the solution is
really simple...
I''m trying to conceptualize the relationships between a series of
models for a page creation function. What I''d like is to have a
Content Page which consists of a series of Content Blocks. The
Content
2007 Oct 04
10
Design and modeling tools?
What do you guys use for design and modeling (and don''t answer pen and
paper, because I use those to, they just don''t look so good in a
project report ;) )
I have tried stuff like UMLet (free), Altova UMLsomething (pay), dia
(no comprende ;) ), NetBeans UML (slow). But none worked just the way
I wanted them to.
Any suggestions?
Christian...
2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m
trying to start a project of my own, follow the same instructions but
the difference is I created the database myself.
After I create the scaffolds and try them out I get this error
NameError in CustomersController#index
uninitialized constant Customer
RAILS_ROOT: ./script/../config/..
Application Trace |
2009 Oct 12
1
Creating object referant from argument name
Hi all. I'd like to define an object within a function based on an argument
to that function.
Specifically, I've got:
do.something<-function(input){
id<-substring(input,3,3)
j<-list1
if(id==2)j<-list2
if(id==3)j<-list3
if(id==4)j<-list4
...}
Instead of all these if() arguments, I was hoping to use something like:
2006 May 23
0
Preventing non-domain user from accessing domain resources
Hi,
I've just built a Samba PDC on SuSE 10.0 OSS (the open source version)
with openldap as the backend passwd wrapped in the same machine.
Everything (almost) works fine: windows users (win98/Me or winXP Pro) can
authenticate against the PDC+LDAP server or change their password - thanx
to Samba. But something just doesn't right. Users that login into their
computers using their local
2006 Jun 22
1
Fw: computer outside domain can access resource to inside
Thank's for you Guys, Wolfgang and Ian,
I think I will try to read about Winbind and implement it in my PDC.
But, what do you think about my theory. Is it right ?
"Users cannot access resources in the network if they don't join to Domain.
And, only administrator with root user+password can make users joined to
Domain"
Thanks
SA