Displaying 20 results from an estimated 5000 matches similar to: "How to use: INNER JOINS & IN"
2006 Apr 12
2
where to put utility code.
Hi All,
I am new to "ruby on rails".
I have some common utility classes.
I am not sure where to put this kind of code. components\ or lib\ ?
Any comment is appreciated!
-Jon
_________________________________________________________________
It?s the future of Hotmail: Try Windows Live Mail beta
http://www2.imagine-msn.com/minisites/mail/Default.aspx?locale=en-us
2006 Mar 27
0
Newbie stuff: Adding a New Library Class
Hi
I have been successful in playing around with model, views and controllers in Rails. Along the way, I learnt that some of the reusable stuff could be made library classes. I want to create a lib which will render a form and form elements.
I created a class Mylib.rb in /lib folder.
The class tructure looks like this
class Mylib
helper FormTagHelper
attr_accessor :name, :range,
2006 Mar 31
0
Samba 3.0.21c PDC with Sun Directory server 5.2
Hi,
I'm installing samba on solaris 10 with sun directory server 5.2
i was able to have a bind between the ldap and samba, but i can't search any users and i cant join the domain.
ANY ideas, or tips
Thanks a lot
Imad
_________________________________________________________________
It's the future, it's here, and it's free: Windows Live Mail beta
2006 May 17
1
I need your help about Microsoft pleaseeeee
Dear JimCould you please help me out with a couple questions here ? 1. Which Administrative tool would you use to manage a user account in Active Directory ? 2. Define roaming profile and its advantages ?3. With administrator rights , how can you access a user's hard drive from your workstation without the use of shared folders ? Thanks alot in advance. Best Regards, W Tran
2009 Aug 07
1
inner joins and outer joins
can anybody guide me on how to create inner joins and left and right
outer joins in RoR as both the tables has "has and belongs to many
relationships" and there is ajoin table as well
2005 Oct 12
2
Help with act_as_nested_set
Hi, I''m trying to get act_as_nested_set working, and I''m puzzled.
I googled the following
http://codefetch.com/cache?url=http://media.pragprog.com/titles/rails/code/r
ails-code.tgz
<http://codefetch.com/cache?url=http://media.pragprog.com/titles/rails/code/
rails-code.tgz&path=rails-code/ar/acts_as_nested_set.rb&lang=ruby&qy=ruby>
2006 Jul 20
3
acts_as_tree
Hello,
I''m trying to create categories that have their own subcategories, and each
subcategory may have its own subcategories, .. and so on.
After some reading, I found out that the best way for creating such a thing
is to use acts_as_tree, but I didn''t find any tutorial or article that
explain this in a clear way. After a lot of work I was finally able to
create categories and
2006 Feb 18
0
indexed date_select
Hi All,
I am wondering if it is possible to have date_select fields that are
indexed for updating of multiple rows.
Here is my code:
<% @book.awards.each do |@award| %>
<tr>
<td><%= select("award[]", "category", [ "Fiction", "Non-Fiction",
"Poetry", "First-Boak", "Translation" ],
{ :include_blank
2013 Mar 21
0
Problems parsing page encoded in Shift-JIS
I''m posting this question to both mailing lists as I''m not sure whether it''s a Mechanize problem or a Nokogiri problem.
Using Nokogiri and Mechanize to load and parse a web page encoded with Shift-JIS. I have an HTML construct like:
<head>
<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
</head>
<body>
2007 Oct 03
1
Vlad problems
I am having trouble getting rake vlad:start to work.. here is the
output:
ivan:04:39 PM:www2.sustainablewebsites.com> rake vlad:start
(in /Users/ivan/Sites/www2.sustainablewebsites.com)
!!! PID file log/mongrel.8000.pid does not exist. Not running?
mongrel::stop reported an error. Use mongrel_rails mongrel::stop -h to
get help.
!!! PID file log/mongrel.8001.pid does not exist. Not running?
2006 Jul 03
3
Sharing Session Between Two Applications
Hi
We have a rails application deployed and working fine. Along with this, we are planning to add "Opinion" forum. The url of the forum will be like http://forum.mymainsite.com Is it possible to share the session (that is, if the user is already logged in on the main site, he need not log in again on the forum section).
Is it possible to add the ''opinion'' as a
2004 Jan 05
1
[Bug 118] NAT stops working
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=118
------- Additional Comments From owlman@ss.pub.ro 2004-01-05 15:46 -------
Well, here I am again. I just spent one hour tracking the newest instance of
the bug. At the end of it I found a workaround and a new direction to search
for it. I remind everyone that the machine is a Slackware box with a 2.4.23-
vanilla kernel.
2014 Apr 09
3
Logrotate errors
Hi all,
I have a problem with logrotate and I don't know why. In
/var/log/messages appears these errors:
Apr 8 15:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1]
Apr 8 16:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1]
Apr 8 17:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1]
Apr 8 18:01:01 plzfnsm02 logrotate: ALERT exited abnormally with [1]
Apr 8
2012 Jun 15
2
How to convert month-day-year to Julian data number?
Hello,
I am trying to convert calendar dates (Month, Day, Year) into Julian Days
Product code Bureau of Meteorology station number Month Day Year Date_mdy Date
4102001 70014 1 1 1939 1/01/1939 1/01/1939
4102001 70014 1 2 1939 1/02/1939 2/01/1939
4102001 70014 1 3 1939 1/03/1939 3/01/1939
4102001 70014 1 4 1939 1/04/1939 4/01/1939
4102001 70014 1 5 1939 1/05/1939 5/01/1939
4102001 70014 1 6
2007 May 21
2
I can't get mod_auth_ntlm_winbind to work
Scenario:
Centos 5 x86_64 machine with samba-3.0.23c-2.el5.2.0.2
The machine is a PDC, Windows 2000 users logon, get
profiles, etc.
I'm trying to set up a folder in apache that uses
NTLM authentication using mod_auth_ntlm_winbind.
I've followed:
http://adldap.sourceforge.net/mod_auth_ntlm_winbind.php
winbindd is running, and ntlm_auth seems to work:
# ntlm_auth --username=pdc2
2007 Feb 22
3
3.0.4-1 domU start problem
Hello,
I made upgrade from 3.0.2-2 to 3.0.4-1.
I can''t start more than one domUs concurently.
for example:
I had 3 domUs called www1, www2, www3.
I can start www1 and it works fine. Next I start www2 and server
go immediately for reboot.
I can start www2 and it works fine. Next I start www3 and server go for reboot.
...
What''s happened in 3.0.4-1 ?
Thank''s
Dusan
2002 Aug 18
1
Paying Gig with Samba Client
Hello
I have a Free Software Fax Client I use for Samba based faxes called Respond.
I need it altered a little to be a little more professional. I need it
to pop a window to create a cover letter and attach it to the fax.
I don't program in Windows, so I can someone paid to do this from a client.
Please email if interested.
Thanx!
Ruben
--
__________________________
Brooklyn Linux
2006 Jun 23
1
''Series'' Pluralization
Howdy,
I have a model I called ''content_series''. I created it and noticed that
Rails called it ''Sery'', so I added ''series'' to the uncountable thing in
the config, like this:
Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, ''\1en''
# inflect.singular /^(ox)en/i, ''\1''
#
2002 Oct 19
0
Fwd: [hangout] Busy Week for NYLXS [ruben@mrbrklyn.com]
On 2002.10.19 19:44 Ruben I Safir wrote:
NYLXS is having a watershed week this week and I'd like to personally
extend my hope to everyone to participate and prosper from all of our
activities.
On Sunday, We are papering Long Island City and Astoria with Flyers for the
Free Software Business Demo at LaGaurdia College. We are meeting at the
front Entrance of the Queens Citicorp Building
2002 Jan 04
2
Fax from Widows
Hey Guys
We've been using the respond program with SMB fax services and it's worked pretty good.
But I have one need which is not addressed by this software, which I'm hoping maybe
I can pay someone to hack into the windows code.
I need Respond to send a cover letter prior to being sent out, independent of the program queueing
the print job in windows. I was thinking I might be