Displaying 20 results from an estimated 1100 matches similar to: "rake aborted when adding a column"
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 Feb 02
2
Installation behind a proxy
Hi all,
I was a client site today on another project and we started talking about
RoR. I wanted to show it in action, so I downloaded the one-click Ruby
installer for Windows and then tried to do "gem install Rails
-include-dependencies". After a time-out period I received the following
error:
ERROR: While executing gem.(Gem::RemoteSourceException)
Error fetching remote gem
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 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 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 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 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 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 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 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 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
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 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
2004 Sep 03
1
Slow access when opening shares
Hey,
I have slow access when I first open shares. If I reboot my XP box and then
go to access a share, it takes a good 10 seconds for files to come up, even
after I've typed in my username and password. Once accessed it runs fine and
is fast. But, if I don't access it for 30 minutes, when I access it again it
sits for like 10 good seconds before it does anything. This is very
annoying.
2001 Nov 29
3
smbmounts hang around after windows client disconnects
Using 2.2.1a and a 2.4 kernel patched for win4lin.
Everything is working but:
I mount all the available network shares on my linux box as root to one
network directory.
If a windows client shuts down while the linux box is still connected, the
share is not removed from my mount list or from /proc/mounts
It cannot be removed with umount. I can kill the smbmount with kill -15 but
the share is still
2008 Jun 19
9
slow samba
I have a samba version 3.024 server joined to a ADS as a "Workstation or
server" acting as a file/print server. It is a Debian 4.0 amd64 up to date
with stable. ftp works just fine so not network, must be samba config.
vary slow file transfer when copying file from one computer but copy from
two or more at the same time speed is 10 times faster. You will be copying a
600MG file with one
2012 Jul 16
2
Suspicious activity on domain
Hello,
Last week I have detected with Zabbix that a member of my Samba domain
had been downloading at a rate of around 8 Mbps for two days and a half.
When asking the person to whom belonged the machine, he didn't know he
was downloading anything but he said he had observed his machine had
slowed down since then. I took a tcpdump of the traffic before
terminating his session on Windows
2010 Jul 19
3
ActiveRecord override
Would really appreciate it if someone could tell me why this is happening:
I override ssn method of AR class so I can encrypt/decrypt to/from the db:
class Person < ActiveRecord::Base
def ssn=(value)
write_attribute(:borrower_ssn, Crypto.encrypt(self.encryption_key,
value))
write_attribute(:borrower_ssn_final_four, value[5,4])
end
def ssn
# this begin - rescue can be