Displaying 20 results from an estimated 6000 matches similar to: "routing question"
2006 Jun 16
4
duplicate entry issue in acts_as_taggable gem
Hi,
I am using the ''acts_as_taggable'' gem and have issues when I try to 
''tag'' an entity with a ''tagname'' already defined.
i.e
1) book[1].tag(''science'',''paperback'') --> works fine
2) book[2].tag(''roman'',''physics'',''paperback'') --> creates an
2006 Jun 21
4
Simplest way to demonstrate a RoR app
Hi,
I have built a simple RoR application and would like to show it to some 
friends.
I would like to assign a dyndns URI like "myapp.dyndns.org" address to 
point to the application.
As the WEBrick/Mongrel servers are running in "localhost (so loopback 
connections)" and I couldn''t bind them to the external server name or 
couldn''t bind them to my IP
2006 Jun 05
6
HTML Parsing libraries
Hi,
What is the best way to parse HTML?
Or is there a simple way to convert a table to an array?
I tried beautiful_soup and the built-in htmltools, but have trouble 
getting them to run.
Any pointers?
Thanks, Hari
-- 
Posted via http://www.ruby-forum.com/.
2006 Jun 06
6
Linking two tables using a lookup table
Hi,
How do I associate two different tables which have a lookup id (table) 
as common.
I tried the has_many :table2, :through => look_up_table in my table1 
model.
Any hints?
Thanks, Hari
-- 
Posted via http://www.ruby-forum.com/.
2006 Jun 19
10
text_field_with_auto_complete doesn|t work in edit/show view
Hi,
I am using the autocomplete for text field with ''Scriptaculous'' and it 
works perfectly fine in "new" action.
All the examples I see are only for the "new" action.
But doesn''t default to the selected value/text in "edit/show" action? Is 
this possible or should I write custom code for "edit/show" action?
Thanks, Hari
-- 
2006 Jul 03
2
redirect as post?
Hi,
How can I make sure the redirect should act as a "POST" method and not as
"GET"?
Thanks, Hari
-- 
View this message in context: http://www.nabble.com/redirect-as-post--tf1884434.html#a5151391
Sent from the RubyOnRails Users forum at Nabble.com.
2006 Aug 04
3
Migration::alter statements ??
Hi,
Where to put the execute statements in migration scripts?
e.g, I would like to create a table and add a foreign_key reference.
def self.up
?? execute "alter table ...."
   create_table :my_table do |t|
      t.column :user, :string
   end
?? execute "alter table ...."
end
Should the execute statement be above the table creation or below the table
creation? Logically I
2006 Jun 05
3
Interactive debugging of rails models
Hi, How can I debug the models interactively?
When I load the console using "ruby script/console", the changes in the 
models doesn''t get reflected. I have exit the console and reload the 
console everytime I make some changes.
Is there a better way?
Thanks, Hari
-- 
Posted via http://www.ruby-forum.com/.
2006 Aug 15
4
How to run autotest(Zentest)
Hi,
When I start the "autotest" it gives me the following error...not sure what
HOME path I have to set...all Ruby/Rails related components are in path!
---
C:\>autotest -rails
C:/Tools/InstantRails/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.3.0/lib/autotest.rb:285:in
`expand_path'': couldn''t find HOME environment -- expanding `~/.autotest''
(ArgumentError)
---
2006 Aug 06
1
Deploying from local machine to remote host using capistrano?
Hi,
I would like to deploy a RoR application from my local machine to a remote
host.
Looks like the capistrano assumes that you are using an internet accessible
host for the SVN repository and doesn''t checkout files using file:///!
Did I miss some configuration?
How do other people handle their application deployment from your local
machine?
Thanks for your feedback.
Regards, Hari
2006 Aug 17
1
sysread error in "net" library?
Hi,
I am reading RSS feeds and quite often I get the following error in the
"net" library. Anybody had such error before?
Any info would be very useful?
Thanks, Hari
-----
/usr/lib/ruby/1.8/net/protocol.rb:133:in `sysread'': end of file reached
(EOFError)
	from /usr/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill''
	from /usr/lib/ruby/1.8/timeout.rb:56:in
2006 Jun 08
1
formatting amount
Hi,
What is the best way to format amount in RoR?
e.g $12000.937 => $12,000.94
Thanks,
Hari
-- 
Posted via http://www.ruby-forum.com/.
2006 Jul 11
4
how get a substring of a string
hello all
i want to get the substring of a string
i found a source that do it...but  don''t work in my machine
example
  "the source of ruby".chars[0..5]
that must return "the so"
-- 
Posted via http://www.ruby-forum.com/.
2015 Feb 23
1
Not able to join domain using ads and target IP
i am not able to join the domain using ads and target ip ( net ads
join ?S <domain
controller ip> ?U <username> ).
I am getting below error.
*net ads join -S 172.17.100.97 -U administrator*
*Enter administrator's password:*
*kinit succeeded but ads_sasl_spnego_krb5_bind failed: Server not found in
Kerberos database*
*Failed to join domain: failed to connect to AD: Server not found
2017 Jul 31
2
Hot Tier
Hi,
Before you try turning off the perf translators can you send us the following,
So we will make sure that the other things haven't gone wrong.
can you send us the log files for tier (would be better if you attach
other logs too),
the version of gluster you are using, the client, and the output for:
gluster v info
gluster v get v1 performance.io-cache
gluster v get v1
2017 Jul 31
0
Hot Tier
For the tier daemon to migrate the files for read, few performance
translators have to be turned off.
By default the performance quick-read and io-cache are turned on. You
can turn them off so that
the files will be migrated for read.
On Mon, Jul 31, 2017 at 11:34 AM, Hari Gowtham <hgowtham at redhat.com> wrote:
> Hi,
>
> If it was just reads then the tier daemon won't migrate
2017 Aug 01
0
Hot Tier
Hi,
You have missed the log files.
Can you attach them?
On Mon, Jul 31, 2017 at 7:22 PM, Dmitri Chebotarov <4dimach at gmail.com> wrote:
> Hi
>
> At this point I already detached Hot Tier volume to run rebalance. Many
> volume settings only take effect for the new data (or rebalance), so I
> thought may this was the case with Hot Tier as well. Once rebalance
> finishes,
2017 Jul 31
1
Hot Tier
Hi
At this point I already detached Hot Tier volume to run rebalance. Many
volume settings only take effect for the new data (or rebalance), so I
thought may this was the case with Hot Tier as well. Once rebalance
finishes, I'll re-attache hot tier.
cluster.write-freq-threshold and cluster.read-freq-threshold control number
of times data is read/write before it moved to hot tier. In my case
2006 Jun 30
4
always show 2 decimal places
Hi,
I have a float that often looks like somthing like 2003.2 in my 
controller (1 decimal place)
Is there a way to always show it to 2 decimal places eg 2003.20 ?
Thanks
Scott
-- 
Posted via http://www.ruby-forum.com/.
2001 Oct 10
4
openssh on LynxOS issues!
Hi,
1.  Does ssh, scp and sftp client programs work on
LynxOS? I use openssh-2.9p2 on a LynxOS i386 system.
The ssh and scp clients work fine. Even sftp from
other Linux systems works. But, if I make sftp to the
localhost (LynxOS), the authentication succeeds,
prints sftp> prompt and then exits. I don't know why
this happens. I have not set the euid of ssh program
to root as it does not