Displaying 20 results from an estimated 8000 matches similar to: "Installation behind a proxy"
2006 May 16
5
rake aborted when adding a column
I''m having a silly little problem with migrations. All I''m
trying to do is to add an SSN column to my Employees table. I
generated a migration which looks like:
class AddSsn <
ActiveRecord::Migration
def self.up
add_column :employees,
:ssn,
:string
end
def self.down
remove_column :employees,
:ssn
end
end
When I run this, however, I get:
>rake
2006 Jan 16
23
Read data from Excel
A client of mine has a ton of data stored in Excel spreadsheets. I''m
building a web application for her (backed by a real db of course) and want
to import all that data. Is there a library available to read data from
Excel? Is there an easy way to upload the spreadsheets and then read the
data?
Thanks,
Ken Kousen
--
Kenneth A. Kousen, Ph.D.
President
Kousen IT, Inc.
2006 May 04
11
Interesting ActiveRecord vs Hibernate article
For those haven''t seen it yet, Patrick Peak has an interesting
article at the Server Side (www.theserverside.com)
discussing the differences between the Hibernate (www.hibernate.org) peristence
framework and ActiveRecord. The article can be found here: http://www.theserverside.com/articles/article.tss?l=RailsHibernate .
Patrick Peak is the author of _Hibernate Quickly_ (Manning), which
2006 Jan 04
14
Rails on Tomcat or JBoss?
Hi all,
The Rails book talks about running Rails under Apache, but is there a
(relatively) easy way to deploy it to either Tomcat or JBoss? Is the CGI
servlet the only option?
Thanks,
Ken
--
Kenneth A. Kousen, Ph.D.
President
Kousen IT, Inc.
<http://www.kousenit.com> http://www.kousenit.com
<mailto:ken.kousen@kousenit.com> ken.kousen@kousenit.com
2006 Jan 12
4
How do you create a tree strucutre with ActiveRecord
I want to build an application that has the concept of administrative
domains. What I mean by this is that administrators have access to
different data, based on what domains they are a member of. The domain
strucutre is hierarchical. Here is an example:
- MLB
- AL
- East
- Yankees
- Red Sox
...
+ Central
+ West
- NL
+ East
+ Central
+ West
Now
2006 Feb 12
9
CSS in Views
How can I link to a CSS file in one of my view files?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 10
15
"Ruby for Rails" in early access release
Hi --
My book "Ruby for Rails" is now being released one chapter at a time
through the Manning Early Access Program, with the whole book
due to appear on May 1.
If you''re interested, see http://www.manning.com/books/black
(I guess I could have just sent my sig with no body, but anyway :-)
David
--
David A. Black (dblack@wobblini.net)
Ruby Power and Light
2006 May 06
3
Tip, may even be useful
Here''s something that caused me a couple of hours of head-scratching
today:
Apparently, if your model doesn''t derive from ActiveRecord, it is NOT
reloaded for each operation in the development environment.
I was working with something that uses a single model per session, and
stores its data in the session. I kept wondering why I didn''t see my
changes. Finally, I
2006 Feb 26
0
Review of Black, Ruby for Rails, Chapter 4
As others have mentioned, Chapter 4 of David A. Black''s book _Ruby for
Rails_ is now available for download from the Manning site. The fact that
the book is being released one chapter at a time makes it easy to read in
small, digestible chunks. I never intended to review every chapter
individually here, but now that I''ve done the first three, I feel like I
ought to continue.
2006 Feb 20
0
Review of Ruby For Rails Chapter 3
Here''s my review of Chapter 3:
As the author says, this is a transitional chapter. The first chapter was
an introduction to Ruby, and the second was a similar introduction to Rails.
Now we begin the real purpose of the book, which is to dig into the Ruby
behind the Rails.
Periodically the question arises on this list about how much Ruby you need
to know in order to do Rails.
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi,
I''m interested in using a currency conversion web service in my rails
app. Does anyone have a free service that they use and like? I found
this one
http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10
I''ve tried to make a simple, plain Ruby script to connect to this and
get a conversion rate without success.
How do I integrate a webservice into my rails app? I
2006 Mar 27
3
XML Storage?
Hey Folks,
Now that all the fun and games of learning Rails has almost sunk
in it''s time to build something useful. I am tasked with building a
system to control and search our large (and I mean large 1.5 million + and
growing) photograph collection. I have been building databases for years
and after thinking about the situation we decided that trying to store the
2006 May 04
0
Transferring RailsConf registrations
Has a decision been made about the proper way to transfer RailsConf
tickets from one person to another? I didn''t see anything on the
RailsConf site and the wiki just leads to the regular RoR wiki.
It turns out a client of mine needs me that week. I don''t mean
to clutter the discussions here with that, but I don''t know of any
other forum.
Ken
--
Kenneth A. Kousen,
2006 May 02
96
[ADV] Second Edition of Agile Web Development with Rails
ANNOUNCING AGILE WEB DEVELOPMENT WITH RAILS, SECOND EDITION
===========================================================
http://www.pragmaticprogrammer.com/titles/rails2/
Rails has changed a lot since we announced the first edition of the
book a year ago. DHH says that the 1.1 release "boasts more than 500
fixes, tweaks, and features from more than 100 contributors." Who
are we to
2010 Oct 05
1
Problems with gem install xhtmldiff on Windows XP
Hello
I''ve successfully installed the InstantRails 2.0 on a Windows XP machine and
followed the installation steps outlined in the EPF wiki
http://wiki.eclipse.org/EPF_Wiki_Installation_Guide. However, the command
"gem install xhtmldiff" returns the following message at the command line
"ERROR: While executing gem... <Gem::RemoteSourceException> HTTP Response
302
2006 Feb 18
44
I forgot. Why do we hate* Java?
Hi,
I''ve started reading some Java books. Gasp! What makes website
development with Java so bad? I haven''t looked at Struts but I''m
reading about Hibernate. Compared to ActiveRecord, Hibernate seems
like some extra typing to explicitly define the model fields, getters
and setters. I know that these are things that you can do in
ActiveRecord when things get complicated
2012 Mar 12
4
Help: Ruby Newbie Trying to Install on OSX 10.7.3
I entered in "rails" from the terminal prompt. Here is what I
got...... any help is appreciated
Last login: Sun Mar 11 15:26:54 on console
67-61-37-207:~ clesceri$ rails
Rails is not currently installed on this system. To get the latest
version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
67-61-37-207:~ clesceri$ sudo gem install
2012 Jan 24
7
Ruby update
Hello, I''m using instantrails 2 to develop RubyOnRails projects on
windows and need to update my ruby version to 1.8.7 (I''m still using
1.8.6). I downloaded ruby 1.8.7 here http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.zip
and unzipped files in the ruby folder of instantrails but when I check
"ruby -v" I still got 1.8.6 (I tried a gem update and same thing, some
gems
2006 Jul 31
20
RADRAILS installation guide
hi all
is there eany installation guide that explais how to set up RadRails
and how to create a RoR project with eclipse?
thanks
--
Posted via http://www.ruby-forum.com/.
2007 May 05
4
Rails Installation Fails - InstantRails 1.3a
I downloaded InstantRails 1.3a, and unzipped it to c:\InstantRails
I then ran
gem install rails --include-dependencies
in the Ruby Console Window
A lot of it worked, but I saw these errors (with a bit of surrounding
output)
Installing RDoc documentation for activerecord-1.15.3...
Installing RDoc documentation for actionpack-1.13.3...
lib/action_controller/routing.rb:1061:30: