Displaying 10 results from an estimated 10 matches for "makenai".
Did you mean:
makemap
2006 Jan 23
6
Ruby at O''Reilly Rough Cuts
Not sure if this is old news or not, but it would appear that both the
Ruby Cookbook and a Rails book are now available for purchase at
O''Reilly Rough Cuts (something akin to PragProg''s beta book program):
http://rubyurl.com/nHz
http://my.safaribooksonline.com/?mode=roughcuts&srchtext=ROUGHCUTS
I haven''t tried them yet, but it definitely seems worth checking out.
2006 Mar 02
2
List controllers?
Hi Raileans,
I''m wondering if there''s any way to get a list of all of the valid
controllers in my application. Specifically, I''m doing some funny
dynamic stuff in my routes.rb and wanted to make sure that valid
controllers will always get mapped while things that are not
controllers will go to my other map. I think it would look something
like this in my mind''s
2006 Mar 03
5
Rails Site: VegasLists.com
Just wanted to drop a note about a new Rails site that we''re testing in the
wild, http://www.vegaslists.com.
The site allows users to create lists about anything Las Vegas related and
then lets other users comment on those lists.
It was a project that went from concept to completed in about 2 weeks,
working on it after the ''real job'' for fun. It''s very simple
2006 May 30
2
ActiveMerchant
Is anyone using ActiveMerchant currently?
I''ve seen it recommended on this list several times, but it seems kind
of buggy and incomplete and I''m having trouble getting it to work.
>From the example at http://home.leetsoft.com/am/, I''ve tried:
gateway = ActiveMerchant::Base.gateway(:authorized_net)
response = gateway.capture(1000, creditcard)
..but it
2006 Feb 10
4
before_save gotcha
Is it will known and accepted that before_save triggers should return
true? I didn''t notice this before but now I see it in the
documentation.
Here is what I''m doing in my model:
def before_save
if self.has_album?
self.visible = self.album.visible?
end
end
That results in the expected result when album.visible? is true - but
not when it is false. To make it
2006 Aug 11
0
Byte Order Mark in layouts
Hi all,
I had a rails project ported from a java app that was perplexing me.
Everything was running fine, except that it wouldn''t validate with the
W3C HTML validator - it kept saying that there was a invalid character
in there and failing.
Up until a few days ago, I had no idea what a BOM or Byte Order Mark
was. Apparently, many editors write a few bytes at the beginning of a
2006 Aug 14
0
MediumText with Rails Migrations
Hi,
I''m trying to figure out how to reliably define a column as mediumtext
type through a migration.
First I tried this:
change_column( :entries, :lines, :text, :limit => 2.megabytes )
It worked fine for my development box on MySQL 5.0, but when I tried
it on my production box with MySQL 4.0, it gave the following error:
MysqlError: You have an error in your SQL syntax. Check the
2006 Mar 23
0
Porting from Struts to Rails
Hi all,
I''ve been put into the unique position of having to port a J2EE app
using Struts and Hibernate over to RoR. The good news is that it''s not
a terribly complicated application. The bad news is that I know next
to nothing about Struts. I took some Java classes in my university
days and have had the opportunity to work with a couple Java
developers in the past, so
2006 Jan 08
0
USPS Shipping API
I need to do USPS shipping from within my Rails app. Before I reinvent
the wheel, is there anything out there already?
I''m familiar with the Shipping gem that has support for Fedex and UPS so
far, and came across a post on Robby on Rails'' blog that he might be
adding USPS support to it back in April. Does anyone know if that or
anything similar has ever came to fruition?
2005 Dec 15
2
HABTM being tricky
I''ve just been bodyslammed by a problem with has_and_belongs_to_many -
as far as I can tell, if it doesn''t appear at the top of other
relationship definitions it doesn''t seem to work right. For example:
class Artist < ActiveRecord::Base
has_and_belongs_to_many :genres
has_many :albums
has_many :videos
has_many :cds
has_many :collections
end
..works fine