Displaying 14 results from an estimated 14 matches for "secondname".
2006 Aug 12
7
Override method in ActiveRecord
Hello,
there is a method ActiveRecord::Base#exists? . I would like to override
this method in a class ActiveRecord.
Could anyone tell me how to do it?
TIA
--
Posted via http://www.ruby-forum.com/.
2006 Mar 20
3
rhtml templates and syntax
Hello,
where do we need <% -%> in templates ? What is the difference between
<%= %> and it ?
--
Posted via http://www.ruby-forum.com/.
2011 Apr 19
1
Samba PDC + OpenLDAP + Windows 7 user name length
Hello,
We have the following configuration:
- OpenLDAP 2.4.21
- Samba 3.5.2
- Windows 7 x64
- Roaming Profiles
We have 2500 users and format of usernames are:
name.firtsname.secondname (Spanish has first and second name)
Windows 7 clients are joined to the Samba domain. Everything works fine,
users can logon in Samba domain, network volumes (F: , G: ...) are
mapped correctly and the user profile is stored on the server at user
logoff.
What is wrong? We have problems when the...
2006 Mar 30
13
Trying Agile book, found problem
Pg. 57 of Agile asks you to create a scaffolding by typing in
ruby script/generate scaffold Product Admin
Instead of generating everything, it only gives me
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
identical
2006 Mar 25
2
Current controller
Hello railists,
I have a list of news headers on my index page. I would like to hide
this list if current controller is ''news''.
I put to main/index.rhtml
"<% unless @controller == "news" %> list here news headers <% end %>
. This doesn''t work.
So, the question is how to get current controller name in template ?
Thank You!
--
Posted via
2006 Jan 09
3
Thomas Fuchs Interview on Audible Ajax
Hi guys,
I had the pleasure of interviewing Thomas Fuchs for "Audible Ajax", and
thought that some of you may be interested to hear it:
http://ajaxian.com/archives/audible-ajax-episode-12-thomas-fuchs-of-scriptac
ulous
Cheers,
Dion Almaer
Founder, Ajaxian.com
http://ajaxian.com
Cleaning up the web with Ajax
2003 May 05
5
Rpcclient - setdriver.
I have done one succesful driver for downloading to my windows 2000-client.
When i try set another with "setdriver " I get a result as : SetPrinter call failed!
The only differens between them is in the desritption-field
flags:[0x800000]
name:[\\localhost\HP4600]
description:[\\localhost\HP4600,HP4600,H4600]
comment:[H4600]
flags:[0x800000]
2003 Dec 01
0
No subject
...samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Is there a way to make users who have their windows login set to "Firstname
Secondname"? In other words, can a samba user's name have a space in it?
Mark Pinto
Return-Path: <walta@mdconnect.net>
Delivered-To: samba@lists.samba.org
Received: from fs1.mdconnect.net (fs1.mdconnect.net [209.8.194.2]) by
lists.samba.org (Postfix) with ESMTP id 7527448CB for
<samba...
2006 Aug 17
0
field is not empty rails javascript
Hello,
how could I add validation to the field that should not be empty before
submitting?
Is it possible to add with rails helpers or smth.
TIA!
--
Posted via http://www.ruby-forum.com/.
2006 Apr 05
0
file_column create image on fly
hello,
i''ve added version "small" => {:size => "320x240>"} to file_column. But
it doesnt create that size image. How to tell file_column to create
small image if it doesn''t exist?
Thank you
--
Posted via http://www.ruby-forum.com/.
2006 Apr 08
5
file_column
hello,
how to generate new image if i do add new version? For example, I add
version :small => { :size => "320x240" } .
How to tell file_column to generate new image version if image is
allready uploaded ?
Thank you!
--
Posted via http://www.ruby-forum.com/.
2006 Apr 12
0
fixtures advanced question
Hello,
in my database i have tables models,marques,cars. I wrote fixtures for
models f1:
id: 1
marque_id: 1
name: 100 NX
f2:
id: 2
marque_id: 1
name: 200 SX
f3:
id: 3
marque_id: 1
name: Almera
f4:
id: 4
marque_id: 1
name: Patrol
f5:
id: 5
marque_id: 1
name: Primera
f6:
id: 6
marque_id: 2
name: CLK
f7:
id: 7
marque_id: 2
name: CLS
f8:
id: 8
marque_id:
2006 Mar 14
0
how to render_component in global layout
Hello,
i have one layout file for all controllers. I would like to have news
list on each page. So, i put <%= render_component :controller => "news",
:action => "list" %> , to my layout file. But this doesn''t work at all.
I get error "Application could not be started.. ".
If I put render_component to some view file say
2006 Mar 21
0
sqlite3 SQL logic error or missing database
Hello,
i can''t insert data into table. This is weird because everything else
works:
i can select data the database file I use;
i can insert data into required table if i connect to my sqlite3 file
from shell and insert data manually.
My database configuration:
production:
adapter: sqlite3
dbfile: db/production.sqlite3
.
File production.sqlite3 is chmod''ed 777 and