Displaying 20 results from an estimated 2000 matches similar to: "InstantRails"
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
2008 Jan 20
9
Ferret Gem Installation on Windows
Trying to install ferret on my windows XP environment. Using
InstantRails 2.0 with RoR 2.0.2, and NetBeans 6.0. I had successfully
installed and built RailsSpace in InstantRails 1.7, but am trying to
upgrade RailsSpace to RoR 2.0.2 using the code that Michael has kindly
provided for us on the website.
When I run the gem install ferret command, I get the following error:
C:\Documents and
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
2008 Apr 10
7
Trouble installing ruby-debug
I have installed ruby-debug several times without any problems, but am
running into one when rebuilding my system.
I am typing in the following command to install it as root:
gem install ruby-debug -y
I keep getting the following response:
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
ERROR: While executing gem
2010 Aug 17
3
Rails 3 flash message problems
The following code in my application_helper.rb class either eats the
flash message or escapes it and does not display properly:
# Outputs the corresponding flash message if any are set
def flash_messages
messages = []
%w(notice warning error).each do |msg|
messages << content_tag(:div, content_tag(:p,
html_escape(flash[msg.to_sym])), :class => "message
2009 Mar 24
12
MonkeyPatching ActiveRecord::Base class
I am trying to monkey-patch the ActiveRecord::Base class to incorporate
a generic search class method so that it can be used by all model
classes which need this functionality. Since model classes directly
inherit from ActiveRecord::Base and unlike controllers and helpers, do
not have an ancestor class defined, I think I am forced to open the
ActiveRecord::Base class and patch it? May be I am
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 :)
2008 Jan 21
4
Rails app cannot connect to Ferret server
I have installet the Ferret gem v. 0.11.6 and the latest acts_as_ferret
plugin from
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
I''ve followed the instructions here
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer to set up the
server, and put acts_as_ferret :remote => true on one of my models (Ad)
I can also start the ferret_server, but when
2011 Feb 19
2
Active Record Query
A course has many lessons and a lesson has many topics.
A topic can have a recipe or vice versa, a recipe has many topics
(optional).
I need to come up with the most efficient way of querying the database
to find those topics belonging to a course (via lessons of course) which
have a recipe (in other words recipe_id is not null for this topic
record).
Simple but challenging :)
Thanks for your
2008 Oct 07
4
Moving from one dns domain to another
My Rails 2.1 app is changing DNS domains. For example:
From: www.oldcompany.com
To: www.newcompany.com
The app uses Apache2, mongrel_cluster, MySQL.
I would like the existing users who visit www.oldcompany.com URLs to be:
1. Notified via an HTML page that the site has changed from oldcompany
to new company and then redirect them to newcompany.
This has to be done on the same server which gets
2006 Jul 24
2
RadRails plus InstantRails
RadRails requires Ruby and Rails to be installed first.
Will it work ok with InstantRails providing the Ruby + Rails part?
Or do people recommend avoiding InstantRails when installing RadRails?
lex
2008 Apr 19
1
Problem with Active Web Service on InstantRails
Hi,
I''m trying to install and use activewebservice on Rails 2.0.2(using
instantrails)
the gem install activewebservice finished succesfully.
walked through the steps listed at:
http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/
when I try to start mongrel I get the following trace
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development
2007 Jan 05
1
InstantRails with Ruby One-Click Installer?
Hi. I would like to hear how/what other users are installing for
development and reference support. I currently have both InstantRails
and the Ruby One-click Installer installed. I don''t like telling
co-workers to install both (the OCI has lots of nice documentation
useful to Rails developers). Also, the Ruby OCI helps when needing to
run Ruby scripts outside of the InstantRails
2010 Jun 24
1
Rails 2.3.2 upgrade to 2.3.8 problem
Upgrading to Rails 2.3.8 from 2.3.2 has broken views in my application.
Specifically the field labels are all displaying </br> after the label
text and therefore the alignment is all messed up. Instead of nicely
aligning with the label text on the top and text entry field under it,
they line up side-by-side and are misaligned. The tell-tale sign is the
appearance of </br> tag after
2007 Oct 18
2
Class works on Ruby, does not work on Rails controller.
Dear All,
I have written a ruby class which uses the flickr webservice. When I
wrote a "command line" sript using that class the I get a proper
response (through res_message). But when I use the class in a
controller I get nil as the response
any help will be highly appreciated.
thanks.
J
--------------------------------------
class is like this.
class FlickrClient
def
2006 Aug 08
2
Should I uninstall everything to install InstantRails?
Please help me I am brand new to this.
I have been following this tutorial from OnLamp
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html
which tells you how to install ruby, rails and mySQL and get going.
Doing this tutorial convinced me RoR was the way to go for me.
So I got hold of this e-book:
Agile Web Development with Rails - The Pragmatic Programmers
The book tells me to install
2006 Mar 13
2
Engines with InstantRails
I''ve recently started playing with InstantRails 1.0 and am now wanting
to experiment with the Login and active RBAC engines but having trouble
getting them to install.
I''ve checked the following but can''t find any info on how to get it to
work.
http://rails-engines.org/wiki/pages/Engines+plugin
I''ve also tried the following:
2008 Oct 16
4
InstantRails and SQLite
Hy,
I''m using InstantRails for my RoR developments and it is really great.
However I have a little problem since a few days. Here is the
situation, I''m using InstantRails 2.0 with PHP 5.2.6 (I upgraded
following the InstantRails procedure). I''m using MySQL as a database
for my application but recently downloaded a forum (FluxBB) which need
SQLite to work. My problem is
2006 May 15
2
Error creating controllers in InstantRails-1.3a
Hi,
I was able to successfully Install InstantRails-1.3a and run cookbook throgh
Apache and WEBrick , however when I try to create my own app. cookbook2
following tutorial ( http://instantrails.rubyforge.org/tutorial/index.html)
, it gives me below error whle creating MyTest controller
Cannot find gem for Rails =1.1.2:
Install the missing gem with ''gem install -v=1.1.2
2006 Jun 14
5
InstantRails Lost connection to MySQL server
Hiall,
I just tried out InstantRails version 1.3a. After a virgin install and
filling the fresh mysql db with my app schema, I tried runningthe app
with webrick, only to see the infamous "Lost connection to mysql
server" for every action. What is it that I''m doing wrong? I also have
mysql 5 installed on my machine, but the service is stopped while
experimenting with