Displaying 20 results from an estimated 10000 matches similar to: ""Rails recipes" vs "Rails cookbook""
2006 Feb 21
29
script/console
The agile book says "You can inspect variables, set values, add other
breakpoints, and generally have a good time".
This is very sweet and totally useless. For example, I want to see the session variable,
the cookies variable and so on. These names are unknown. I think I guess that the things
that are available depend on where you put the breakpoint() call. I''ve tried a
2006 May 17
3
Session in ActiveRecordStore
The Agile book seems to say I should specify this as follows, probably in the
environments.rb:
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:database_manager] =
CGI::Session::ActiveRecordStore
BUT the environments.rb file would have me Un-Comment this:
config.action_controller.session_store = :active_record_store
Anyway, I''ve tried both, and in both cases it
2006 Jun 19
5
Wysiwyg HTML Editors and Rails ?
What wysiwyg html/CSS editors do people recommend. I''m mainly interested in FOSS programs
that I can run on WinXP. Sometimes you just have to create some mostly-static pages and
make them look nice. I see that Guy Kawasaki is using Nvu, which is based on Mozilla
composer. Any of you guys have any experience with that?
Warren Fred
-------------- next part --------------
An HTML
2006 Jan 25
14
Salted Hash Login Generator
Does this work with rails 1.0 ? I saw that people said it failed with rails 14.1, which
practically identical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060125/5da24694/attachment.html
2006 Jan 12
4
Domain Registration -- Private ?
The domain registration companies are pushing an add-on called ''Private Registration''
where they keep your email and other personal info secret to prevent spam. Is this a good
deal? Is it needed? Do you have it? Do you wish you did?
Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 29
4
Wild SQL -- public/500.html -- postgres-pr
Every page of my DEPOT on Postgresql rails app now gets an error from postgres-pr about
some wild left-join SQL that has nothing to do with my tables:
SQL (0.000000) NameError: undefined local variable or method `errors'' for
#<PostgresPR::Connection:0x3b200c0>: SELECT a.attname, format_type(a.atttypid,
a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN
2006 Apr 28
35
what''s your rails wishlist?
I''ve been working with rails for a while now. Rails is the second web
framework I''ve tried. It blows the doors off catalyst (perl''s best
framework). I even just wrote my first plugin (broomstick). Ruby''s
ability to meta-program blew me away with it''s ease of use. I''ve been
so impressed with the helpers that rails uses to make a lot of
2006 Apr 19
24
Why Ruby on Rails
Our company is mainly made up off application developers but we have a
lot of web work coming up so we are deciding which route to take at the
moment. We initially identfied ASP.NET 2.0 with the ATLAS AJAX
framework because of the RAD features, easy to learn etc.
I had read some stuff on ROR and our Boss who is open minded allowed me
to create a sample application with ROR. He was impressed
2006 Jun 12
6
Storing "money" in databases
Hiall,
I''m wondering what''s common practice when dealing with money values
stored in databases. I like the idea of storing all the values as
integers, i.e. all the values in eurocents not euros. Then I need to
multiply all values the users enter by 100 before storing them in the
database. Now the question is, what''s the most efficient and dryest
way to do this?
2005 Dec 15
9
FatWreck.com - New Rails Site
After months of design and development, we''ve launched our second Rails
site, http://www.fatwreck.com (assuming your DNS is updated - the pink site
is the old one).
The site is for legendary punk rock record label, Fat Wreck Chords and it
includes a store.
The old site was highly trafficked, with millions of page views per month
and we expect this one to be also. So far, the server
2005 Dec 22
4
advice on MySQL version
I am going to start a project from scratch with MySQL. Is it a good
idea to go ahead with MySQL 5? Is there any gotcha with that version
as of today?
-- fxn
"We all agree on the necessity of compromise. We just can''t agree on
when it''s necessary to compromise."
-- Larry Wall in comp.lang.perl
2006 Jan 12
24
The Guilt List
I''m not a paid developer, but I still feel guilty. I thought it might
be entertaining to have a little "programmer confession." So let''s hear
an answer to this simple question:
What makes you guilty about your Rails development?
Mine is a bad one: I don''t write tests. I understand that TDD makes
sense, but I just don''t do it. I''ve
2005 Nov 16
37
Postgresql vs MySQL
Is there any reason to avoid using postgresql for small web apps? That is, is it''s
overhead so large that the lighter MySQL will work substantially better for small apps on
small machines? Or are they very similar in performance and configuration?
I''ve used MySQL but postgresql has its appeals and I''m wondering if I need to keep MySQL
around at all.
On the other
2006 May 11
7
current user''s id?
I''m new to rails and have a question that seems simple but that I cannot
resolve.
Is there a way to find the id of the currently logged in user?
Thanks,
JP
--
Posted via http://www.ruby-forum.com/.
2006 Jul 20
19
Recipes versus Ruby for Rails: what''s best after Agile?
For expats from other languages, what''s the next best step after the
Agile Web Dev book:
Rails Recipes or Ruby for Rails?
Thanks,
--
Austin
--
Posted via http://www.ruby-forum.com/.
2005 Dec 28
5
Shared Hosting Rails Sites ?
I can''t decide between a2hosting.com, successfulhosting.com, site5.com (which offers 11gb
of disk space for $8.77/month -- I''ll never use it), planetargon.com (which offers 1 gb
for $11/month), or railsplayground.com (which offers a gigabyte practically for free).
Any experiences you''d like to share?
Only a2 and planetargon list their gems on their web sites.
All of
2006 Jun 06
5
[OT] O''Reilly Cookbooks
Hi,
Has anyone gotten the "roughcuts" of the Ruby and Rails cookbooks? If you have the Pragmattic Rails Cookbook is the O''Reilly worth it? Also can you download PDF''s of their "roughcuts". The website is kind of vague, it just mentions online access (whatever that means).
Thanks in advance.
2006 Jun 14
2
script/generate --pretend; Won''t
Cannot pretend:
> ruby script\generate --pretend controller entryform index
Couldn''t find ''--pretend'' generator
I just wanted to see what files it would generate...
Warren Fred
2006 Apr 27
2
postgresql ruby rails connector ?
Which postgresql gem or library are people using on windowsxp for rails? And what do I
put in the yaml file?
Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060427/e68daff3/attachment.html
2006 Apr 30
16
postgresql duplicate key violates unique constraint
I have a weird problem with creating a new record when using PostgreSQL.
From inside script/console ...
>> entity = Entity.new
>> entity.first_name = "Foo"
>> entity.last_name = "bar"
>> entity.save
Throws an exception due to the following SQL error: duplicate key
violates unique constraint.
The application was working fine before and suddenly