Displaying 20 results from an estimated 900 matches similar to: "[OT] O''Reilly Cookbooks"
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 Jun 21
1
Adding routes via plugins
Hi,
I''m attempting to add a route via a plugin. I attempted to add the following to my init.rb:
myroute = ActionController::Routing::Routes.connect "boo2", :controller=>''plugin'', :action=>''index''
puts "path=#{myroute.path}"
myroute.options.keys.each do |k|
puts "#{k}=#{myroute.options[k]}"
end
The newly
2006 Apr 13
2
Automatic finder
It looks rails automatically creates a "finder" method on models that have a "belongs_to". So I tried this in the console:
c = Category.find(2)
chunks = Chunk.find_by_category(c)
chunks is always returned as an empty array. When I know have some chunks with a category_id of 2.
Should the find_by_category do what I think it should be doing or am I completely off base?
2007 Mar 25
3
Can''t seem to get rewrite rules to work with Apache
Hi,
I''m struggling to get an Apache rewrite rule to work. I have a
simple rule that for a request to "a.html" will be sent to "b.html".
However the requests for "a.html" are always sent to my Rails apps.
Here is my Apache configuration:
<VirtualHost 216.154.219.19:80>
<Directory /u/apps/simplelog_2.0.2/public/>
Options FollowSymLinks
2006 Mar 15
7
O''Reilly Rails Cookbook on Rough Cuts
Subject says it all. Anybody taken a look yet?
http://www.oreilly.com/catalog/railsckbk/?CMP=ILC-GG7423313304&ATT=railsckbk
After buying the Ruby Cookbook and the other Rails book, I''m pretty
gunshy about another Rough Cuts purchase.
Sean
2006 Mar 01
2
o''reilly''s arrogance
although basically hopeful of the company''s ''rough cuts'' venture, i am
insulted by the fact that o''reilly''s safari service offers important material
to its regular subscribers only if they pay extra for it. o''reilly''s material
on ajax is a good example: all of the introductory coverage is available only
as pricey ''rough
2006 Feb 22
5
[OT] Apache rewrite stuff...
Hi all, a little off topic, but was wondering what the best way is to
re-write incoming requests so that they all end up at the same domain.
For example, if I had:
my_domain.net
my_domain.com
my_domain.org
Whats the best way to map/redirect all of these to
www.my_domain.com
?
I know its possible, just not sure what to add for rules/virtual hosts
in my apache config.
Thanks for the help!
-Nick
2006 Feb 10
3
Lighttpd segfaults on first access
I just got a new Debian Sarge server and followed the brainspl.at
"Debian Lighttpd Rails Stack" tutorial.
The only place I deviated was the version of Lighty. The page uses
1.4.7 and I spotted that 1.4.10 was available. I installed that and
couldn''t get anywhere. Lighty died on first access from the test
rails app, and even from a ultra basic static config. No log,
2006 Apr 12
2
Tracking page hits
Hello all,
I am developing an online store and would like to keep track of how many
times each product was viewed. While I can keep track of page hits using
something like webalizer, this won''t really work (I don''t think) as the
pages are not going to be static. Has anyone else implemented this and
if so could you please point me in the right direction. A potential
solution
2005 Feb 22
1
Instiki @ O''Reilly ETech 2005
Hi all,
Sorry if I should be posting this elsewhere--I couldn''t find an
Instiki specific mailing list, but the Instiki site is down.
I wanted to mention that my friend Tim Lauer and I are going to be
doing a short "high order bit" talk at the O''Reilly Emerging
Technologies conference, describing a particular use of Instiki which
we came up with:
2006 Jun 01
0
New O''Reilly Friday...er...PDF Guide - Web Services on Rails
Anybody seen it yet? Here''s the bit I got today in the email:
-----
Web Services on Rails
<http://www.oreilly.com/catalog/websor/>
By Kevin Marshall
ISBN: 0-596-52796-9
32 pages, 9.99 USD, 12.99 CAD, 6.95 GBP
This PDF will show you how your small business or enterprise can
publish its APIs
(application programming interface) to a developer community just like
the behemoths
of
2005 Dec 22
0
Ruby now a group on O''Reilly
If this was already posted here, my apologies.
As a long time Perl hack (cough, cough) and now RoR convert, I''m thrilled to see other groups getting involved for the exposure.
Aren''t you?
Let''s fill up the comments and show we''re alive!
http://www.oreillynet.com/ruby/
Ok, well I haven''t posted anything yet but hey my coffee cup fell dry
;o)
-r
2006 Jun 20
1
Mongrel+Mint
Hi,
I''m attempting to migrate an app from Apache+FCGI to Apache+Mongrel. I''m using Apache 2.0 with the latest Mongrel release. I''m having an issue with the Mint stats package and Mongrel not picking up the following url: /mint/?js
Basically inside the /mint folder there is an index.php, so the url /mint/?js should really be going to /mint/index.php?js
When I had my
2006 Jun 20
1
Basic Architecture Questions
Hi,
First of all I love Mongrel and I want to say thanks!
My questions are related to how things work compared to Apache+FCGI background
1. With FCGI I would normally setup multiple FGI processes do I need to setup multiple Mongrel processes? Or is Mongrel thread based? Does the --num-procs flag work the same way?
2. Is there one database connection per process?
Thanks in advance.
2006 Jun 13
0
[OT] Rico Live Grid
Hi,
I was curious if anyone has implemented Rico''s Live Grid (ajaxed html tables)? Do you like it? Do your users like it?
cheers,
scott
----------------------------------------------------------------------------------------------------
What''s an Intel chip doing in a Mac? A whole lor more that it''s ever done in a PC.
My Digital Life -
2006 Jun 20
0
Quiet the Logger in 1.1
I''m using Rails 1.1 and I''m trying to quiet the logger. I searched the mailing list and placed the following inside my environment.rb:
RAILS_DEFAULT_LOGGER.level = (RAILS_ENV == ''production'' ? Logger::INFO : Logger::DEBUG)
But I keep getting:
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'':
2006 Jun 23
1
@request.env and mongrel
Hi,
I don''t know if this question should be posted here on the Rails list or the Mongrel list, but I''ll try here first. I had been using Aapache+FCGI and when I run the following code from my server''s domain "perficient.com" it returns "perficient.com:80":
port = @request.env["SERVER_PORT"]==''80'' ? '''' :
2006 May 10
1
Rails Plugin Directory - Comments
The directory of Rails plugins at http://www.agilewebdevelopment.com/
plugins/ now has support for adding comments to plugins, so stop by
and leave a kind word about your favorite plugin. :)
A feed for plugin comments is available at http://
feeds.feedburner.com/RubyOnRailsPluginComments, while the plugin feed
itself is available at http://feeds.feedburner.com/RubyOnRailsPlugins.
--
2006 Jun 24
2
using flickr.rb
Does anyone have any experience with using flickr.rb? Seems the only
thing which is documented for it is searching through your photos.
Anyway, all I''m trying to do is return a list of my 20 most recent
photos, but nothing seems to work.
doing this returns 100 photos for a given user (which takes all day to
load)
@flickr = Flickr.new ''API KEY''
@user =
2006 May 21
12
TDD for Rails book?
It seems like half the people on this list are writing a book on Ruby
or Rails. For all the hints I''ve seen strewn across the list I have
yet to see one that will focus on test-driven development for either
Ruby or for Rails.
If anyone is looking for a topic, please consider this. I''ve been
trying to wrap my brain around the TDD process, but its way of
thinking is