Displaying 5 results from an estimated 5 matches for "ajitscorpio".
2007 Dec 07
1
Ruby on Rails applications with Mongrel cluster
Hello All
I am trying to install 5 mongrel servers against my app. i am using
Vista. I found this article on a website.. but am stuck on one point.
here are some notes from article:
Now enable the needed modules (url rewriting, proxy, proxy_balancer e
proxy_http) by editing the httpd.conf file (under c:
\Apache_Software_Foundation\Apache2.2\conf, if you installed Apache in
its standard path).
2007 Aug 08
1
dont know how to use :include
Hi
i have two tables treatmentcategories and treatmentitems. each
category has many items.
i have specified
has_many :treatmentitems in treatmentcategories.rb model and
belongs_to :treatmentcategories in treatmentitems.rb model
in one of my def i am trying to display category with each item. So i
used
@cats = Treatmentcategories.find(:all, :include => :treatmentitems)
but i am getting
2008 Jan 08
0
generate database from xml file
hello All
I recently downloaded a sample RoR project and tried to execute rake
db:migrate. only one table got created. but i noticed one xml file in
db folder.
it has whole database structure. i mean tables, data and all that. but
i dont know how to convert that xml file into mysql database.
following is the sample code from that file:
<?xml version="1.0"
2008 Sep 08
1
request.referer
hello All
I am passing some form value from one page to another and if something
is missing from form value redirecting user back to home page,
following is code to redirect back:
redirect_to request.referer ? :back : "/"
i want to pass those params back. something like;
redirect_to request.referer ? :back + params : "/#{params}"
any advice
Thanks
Ajit
2007 Jul 23
2
Firebird, fireruby
Hi Guys
I am pretty new to Ruby. One of our client is using Firebird as his
backend database. I have to create a script which will connect to his
database, fetch some data and update few tables in MS-SQL database.
Now problem is: i have installed FireRuby, got databaes, changed my
database.yml file.
I am trying to display all the users in Members table. but i am
getting following error: