Displaying 20 results from an estimated 7000 matches similar to: "POST instead of GET gives 404 (newbie)"
2008 Jul 01
6
validates_associated & foreign keys
Hi,
I''m struggling to get the validates_associated to work as I think it
should be.
I''m using:
JRuby 1.1
rails-2.0.2
activerecord-2.0.2
activerecord-jdbc-adapter-0.8.2
My tables in MySQL:
CREATE TABLE area_codes (
id INT UNSIGNED auto_increment primary key
...
);
CREATE TABLE markets (
id INT UNSIGNED auto_increment primary key,
...
);
CREATE TABLE
2007 Mar 09
3
NetBeans 6.0/Script Console Window
Has anyone figured out how to turn NetBeans IRB window into Ruby on
Rails script/console window where the gems like ActiveRecord, ActionPack
etc are recognized? May be an easy one for the Rails Guru''s out there,
not for me. By default, the NetBeans IRB window only loads Ruby. I am
trying to see how well NetBeans 6.0''s Ruby/RoR support works fully
realizing that it is an alpha
2006 Sep 07
9
LiteSpeed
Yo Zed,
Just curious -- what do you think of the LiteSpeed
server? Is it better than Lighty? Does it (gasp!) also
serve Rails apps like Mongrel? I think I read that
LiteSpeed doesn''t have proxying support.
Thanks,
Joe
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2010 Jan 09
9
Problem with Sessions
Hi,
Using Netbeans 6.7.1,
Rails Gem Version 2.3.2
MySQL Server 5.1
I am currently doing the depot application from the pragmatic programmer
book (agile web development with rails) everything has been fine up until
the point of creating sessions. I know they are using an earlier version of
Ruby and the gems version is 2.2.2. As soon as I put the necessary code in
the website no longer works and
2009 Jan 06
11
zfs list improvements?
To improve the performance of scripts that manipulate zfs snapshots and the zfs snapshot service in perticular there needs to be a way to list all the snapshots for a given object and only the snapshots for that object.
There are two RFEs filed that cover this:
http://bugs.opensolaris.org/view_bug.do?bug_id=6352014 :
''zfs list'' should have an option to only present direct
2012 Nov 03
2
dahdi 2.6.1+2.6.1 compile fails
I am trying to compile a dahdi module from checkout:
svn co http://svn.asterisk.org/svn/dahdi/linux-complete/tags/2.6.1+2.6.1
with ubuntu 3.5.0-17-generic and gcc 4.7.2
Error on compile is:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3870:47:\
error: 'NULL' undeclared (first use in this function)
This is identical to the error reported in this patch fix:
2011 Aug 18
3
Rails 3 - Production Environment
Hello Everyone,
I need some help related to the below requirements:
-> I need to setup production environment without installing Ruby or
Rails or other related gems into it.
I did accomplish the same using JRuby, bundler and warbler plugin. And
deployed the WAR file into Apache Tomcat server. But now I have to do
this without JRuby & Apache Tomcat.
-> I have to setup Apache with
2007 Dec 04
37
Can`t connect to MySQL Database with Netbeans 6 for RoR ?
Hello,
I am just yes fighting is the right word through the Netbeans 6.0 for
RoR guidance:
[quote]1.gem install mysql
2.Choose the win32 build.
3.Install MySQL and put its /bin directory on your path.[/quote]
did the first 2 steps but what means step 3 ???
Your path? What is my path and which path?
The connection to the MySQL database is also not working, why? what do
i wrong? Please help :)
2007 Oct 16
6
netbeans6 + RoR errors
I''m having problems with running RoR applications, either imported
from existing source or by creating a new project in NetBeans 6 beta
1. When I use the menu "run / test project" or "run / run main
project" I get an error very similar to this:
(from test)
(in C:/flame-svn/test/RailsApplication1)
"C:/flame-svn/test/RailsApplication1/config/boot"
rake
2009 Mar 12
7
Is Mongrel dead?
Is Mongrel dead? When I look at http://mongrel.rubyforge.org/wiki/News
the latest news was from close to a year ago, when last version of
Mongrel was released. A look at the tickets shows a rather sad picture
with only two developers “evanweaver” and “luislavena” contributing to
the bug fixes lately.
Please understand that I am not complaining – I just want to know the
situation so that I can
2009 Sep 17
1
Load Error Using Mechanize Gem
Hi,
I''m getting a "Could not open any of [xml2, xslt, exslt] (LoadError)" error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem.
The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ''xml2'', ''xslt'', ''exslt''
Not sure if there are missing gems, and if so,
2010 Dec 06
15
Windows new installation - Always problems
I would like to know if there is a way to ''package'' an application
with all the associated gems and ship it to a new server and having it
to "just work" in a Windows environment.
Although I have never done it I know that Rails can be frozen into the
application. I am wondering if I can do the same thing with other
gems. I have found this
2010 Feb 25
2
error on project run.....
Hi,
i am new at rails, working on a project,as i run my project in
netbeans, the following error comes in the output window,
suggest some fix for it.
C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/
gems/rails-2.3.2/lib/initializer.rb:32: C:/Program Files/NetBeans 6.7
Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/
initializer.rb:1070: , unexpected kEND
2009 Oct 20
3
gem installation failed
i got this error message while installing mysql gem.....
kindly help me to solve this issue....
JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
C:/Program Files/NetBeans
2010 Jan 07
1
Active Record Error
I''ve had to download an existing Rails project and I''m attempting to
setup locally. I''ve installed all the 2.1.1 rails gems needed by the
project as the existing site is at that version. My platform is
Netbeans 6.8 on Windows Vista for development and prod is on linux.
I''ve been able to setup test and other sites using the latetest
version of rails but cant seem
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am
getting:
''
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3003
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3003
** Starting Rails with development environment...
2008 Jan 14
5
Help finding "JRE" to run Netbeans in Linux
I''ve spent the last year developing a large Ruby on Rails 2.0
application with over a 100 tables and controllers and hope to be
deploying it soon.
Before I moved from my Windows XP computer to deployment, I wanted to
run it in a local Linux environment to sort out:
1. Amazon S3 files
2. RMagick (went south when I upgraded to Rails 2.0)
3. ARMailer (mail spooling program)
I''ve
2011 May 07
4
Activerecord::JDBCError: Invalid column number
Hi,
I''m rather new to Ruby and RoR, so I do not really know whether this ist
the right forum to place my question.
For my first ''project'' I planned to create a simple online-viewer, which
grabs data from an existing database and make them visible in a
structured form via browsers. So I thought that could be the right
beginner-project, because I have only read datasets
2008 Nov 25
1
NetBeans 6.5: RuntimeError when running tests
Is anyone on the list having success using NetBeans 6.5?
I''ve been having difficulty running my tests on NetBeans 6.5. Whenever
I attempt to run the tests on my project, I get numerous errors such
as this one:
RuntimeError: appender ''<Logging::Appenders::File: /Users/george/
workspace/RPM/log/test.log>'' is closed
These errors never occur when I run the tests
2007 Sep 05
4
Content assist for spec files
Hi there,
I''m working on Ruby support for NetBeans, and we''re bundling RSpec
(along with JRuby).
One thing I''d really like to fix is having content assist (code
completion / intellisense / code insight, it has many names) work
inside your spec files such that you can not only hit ctrl-space and
see "describe", "before", "it" etc.