Displaying 20 results from an estimated 700 matches similar to: "XML/SWF Charts howto"
2010 Oct 02
6
Can't stop webrick with ctrl-c or ctrl-d on linux host
Hi All
I have setup a new dev system running LinuxMint 9 (Ubuntu 10.4). Running
ruby 1.9.2, rails 3.0, RVM etc.
One issue I have run into is that I can''t stop webrick with ctrl+c or ctrl+d
and killing the terminal always leaves a stranded ruby process.
Has anybody else run into this? Btw, webrick gets started by running "rails
s" in.
Also, ctrl+c works fine to stop a
2006 Aug 14
6
Testing fails with fixtures not when invoked directly
I have three files organization.rb, company.rb, and department.rb. I want
to ensure the department always has a company
require File.dirname(__FILE__) + ''/../test_helper''
class OrganizationTest < Test::Unit::TestCase
fixtures :organizations
def setup
@smo = organizations(:smo)
end
def test_department_company_defaults_to_parent
org = Department.new(:name =>
2010 Oct 09
2
Rails 3 upgraded form validation issue
H All,
I have run into a very interesting issue. On one of my apps, after upgrading
from 2.3 to 3.0, the form validation started to escape html. Normally what
should happen when you submit a form and one of the fields fails validation
that field would get surrounded with a <div class="fieldWithErrors"> and so
on. That seems to be broken in my app and what I get is the correct html
2006 Jun 28
4
Problem with nvarchar in MS SQL Server 2000
Hello,
after putting ADO.rb into Directory
\ruby\lib\ruby\site_ruby\1.8\DBD\ADO\ I created a Rails-Application with
MS SQL Server 2000 as Database.
Everything works fine, but into the nvarchar-Field "notice" i can''t
store more than about 50 or 60 characters
MS SQL Server Query analyzer says, this field has a length of 510
characters.
What can i do to save up to the 510
2006 Aug 14
7
Ruby In Steel 0.75 now available
{{Version 0.75 of Ruby In Steel}} is now available for download. This
release includes significantly enhanced colour coding and collapsing for
both Ruby and Rails (RHTML) files and provides support for debugging
support for Ruby In Rails. Previous versions only provided debugging for
standard Ruby projects. The Ruby In Steel IDE is hosted within
Microsoft?s Visual Studio 2005 (Standard edition or
2006 Jun 24
32
Why is there no Smalltalk-like IDE for Ruby?
I posted this to comp.lang.ruby and comp.lang.smalltalk, and my blog.
I will likely get destroyed, but it will be worth it if at least one
nugget of information helps the Ruby IDE makers.
-----------------------------------------
Hi all --
I shout my question to the entire Ruby + Smalltalk community: Smalltalk
has had amazing IDEs for decades, why not Ruby? Smalltalkers, Ruby
needs your help!
2006 Apr 30
6
Help, Gruff is killing me
Hi all,
I hope somebody can help me out here, since the issue has been killing
me for the last three days. Here is the issue:
It seems that gruff kills rails/webrick whenever it''s used on win32. I
installed gruff per instructions and it seems to be working. The
sample controller generates a nice grpah with send_data and all. The
issue started once I try to use any other
2007 Mar 13
5
Question on application/database design for a application port to rails
Hi all
I am hoping that the experience and knowledge of this ''list'' will be
able to help me out with some design decisions I have to make while
porting a desktop app to rails.
Here is the scoop:
I am in the design process of porting a fairly large client/server app
to rails. Average data set is about 200 MB per database/server.
Altogether there are about 100 tables and about
2020 Sep 30
4
How to use ssh -i with a key from ssh-agent rather than from a file?
On Wed, Sep 30, 2020 at 03:35:43PM +1000, Damien Miller <djm at mindrot.org> wrote:
> On Wed, 30 Sep 2020, raf wrote:
>
> > Hi,
> >
> > I have a VM with a git repository whose origin is on
> > github. I have several keys known to github, so I needed
> > to set git's core.sshcommand config parameter in the
> > repository to something like this:
2006 Feb 24
5
Sanity Check
Maaaaaaaaaaaaajor sanity check needed.
I wrote a simple little plugin, and it wouldn''t load. I put some comments
in it''s init.rb, and it didn''t even spit those out. So, I dug into the
initializer.rb (/vendor/rails/railties/lib/initializer.rb) to see wtf is
going on, and found the problem... but... can''t explain it. Here is the
code in question:
2019 Oct 30
4
Seemingly impossible bug: -v not always listing every copied file
Thanks. I'll try that. But I agree that it'll be
something else. It's unlikely that whole trace files
are being overwritten, because there's locking in place
to prevent that sort of thing, but it's more likely
than anything else. I'll check that the locking is
working properly.
Although, when I last investigated it, it really did
look as though, in a single run of this
2020 Sep 30
4
How to use ssh -i with a key from ssh-agent rather than from a file?
Hi,
I have a VM with a git repository whose origin is on
github. I have several keys known to github, so I needed
to set git's core.sshcommand config parameter in the
repository to something like this:
ssh -i ~/.ssh/id_ed25519_github2
But it meant that I needed to copy that key to the VM.
The same key is available via my forwarded ssh-agent
connection. Is it possible to tell ssh to use
2006 Feb 08
2
Adding routes via a plugin...
I have a plugin that I am working on that will as part of its distribution
contain a controller. I would like to be able to add a route for it in the
plugin''s init.rb so that when the plugin is loaded, the route will
automatically be registered without having to force the user to edit
routes.rb or even make a rake task to do it for them.
I saw the following code in one of the SVN
2019 Oct 30
4
Seemingly impossible bug: -v not always listing every copied file
Hi,
debian-9, rsync-3.1.2 (both ends)
I have a task that rsyncs files from a list of
candidate files (--files-from=). It's verbose (-v) and
its stdout is captured to a file which is then sent to
the receiving host. The captured verbose output is
examined on the receiving host to know which files were
actually copied so that notification emails can be sent
to various people.
The problem is
2020 Aug 03
2
Deprecation of scp protocol and improving sftp client
On Tue, 4 Aug 2020, raf wrote:
> In such cases, this vulnerability can be mitigated by
> the use of an ssh-specific command whitelisting control
> such as:
Probably just as easy: give the user a restricted shell
(/bin/rmksh) as shell and set their PATH etc. suitably,
to not include any other commands.
bye,
//mirabilos
PS: Full disclosure: I?m the mksh developer
--
?MyISAM tables
2006 Jan 20
4
REST API''s and querying a graph of objects
Hey all,
I am wondering if anyone has given thought to using REST / XPath as
querying mechanism. That way you could have a URL that actually maps
to a collection of records (objects, really) that meet a certain
criteria and that are sorted a certain way.
Mike Pence
2006 Aug 16
6
error with edge rails
I''ve started an app with rails 1.1.6 then ran freeze_edge. My app
will not run with rails in the vendor folder. Have I forgot to do
something? I"ve been without the internet for the last two months.
Has something changed?
2020 Aug 05
4
Deprecation of scp protocol and improving sftp client
It seems that there are a few camps here:
* The scp power users - this camp believes that scp supporting backtick
notation is fine and that running arbitrary commands is a perfectly fine
thing to do.
* The restricted shell users - this camp believes that scp supporting
backtick may not be the best, and there are various restricted shells which
can prevent this. Power users may belong to this
2006 Aug 08
5
RubyGems runtime memory use in Rails apps...
This an open plea for someone with knowledge of RubyGems to explain why
RubyGems stays in memory (over 10MB) after a Rails application is loaded. I
am unable to figure out why this would be necessary. I haven''t had any
response from Jim or Chad from RubyGems about it so I thought I would throw
it open to the list to see if anyone could educate me or share thier
experiences with this.
2019 Nov 13
1
Speed up rsync with many of excluded files
raf via rsync wrote:
> Georg Limbach via rsync wrote:
>
> > Hello,
> >
> > I have a problem while rsyncing a directory with perhaps 1.000.000
> > files. Before this I generate some files locally and add them to temp
> > files. So this files should be excluded from syncing.
> >
> > My rsync call looks like this:
> >
> > rsync