Displaying 8 results from an estimated 8 matches for "sweetspot".
2007 Jan 28
0
problems with acts_as_paranoid (noticed while using acts_as_versioned)
hello,
I''m using the trunk versions of both plugins.
I''m running into this error when I run a migration to try and create
the versioned table for the model ''Note''
stack level too deep
/Users/Adam/dev/sweetspot/app/trunk/config/../vendor/plugins/
acts_as_paranoid/init.rb:5:in `belongs_to_without_deleted''
/Users/Adam/dev/sweetspot/app/trunk/config/../vendor/plugins/
acts_as_paranoid/init.rb:5:in `belongs_to_without_deleted''
/Users/Adam/dev/sweetspot/app/trunk/config/../vendor/plugins/
act...
2006 Jun 26
7
Using Rails to Generate static pages
Hi all,
Has anyone ever thought about or implemented a way to use Rails to pull
content from a database and actually *generate* static html pages from view
templates?
I want to throw a bunch of content into a db using rails and then put all
my website templates into the views dir and write the files out with the
content inside.
The funny thing is that the html pages Rails normally outputs to
2006 May 28
0
[SUMMARY] Rails Core Weekly (May 23 - May 28)
...s swift
implementation of
Person.find(:all,
:conditions => { :last_name => "Catlin", :status => 1 },
:limit => 2)
i.e passing a hash as :conditions to find() ?
Well, not everyone is convinced this is the right thing to do. Tom
Ward explains where the sweetspot is on Hampton''s patch (SQL is evil,
please do not write SQL) and DHH is sold on the idea that with
Hampton''s patch hashes are easily turned into ''AND'' clauses ( within
SQL statements). DHH also enquires what part of the plugin
architecture people would like to se...
2006 Feb 11
16
Why does''nt rails pick up more metadata from a mysql schema?
Hi,
when I define a db column to be non-nullable or of length 20 or as
numeric, I would expect rails to validate that, but that doesn''t seem
to be the case.
Any idea why that is? The metadata is accessible, at least in the mysql case.
I am using rails 1.0 with mysql 5.
Cheers,
Mariano
2014 Jun 25
8
[LLVMdev] Cygwin bootstrap is incompatible with <mutex> (and most other threading C++11 libraries)
(sorry for the cross post, but this issue effects lots of people)
Takumi diagnosed a problem when Zach switched LLVM to use compile-time
multithreading, but it actually has little to do with the multithreading
decisions.
LLVM is rapidly moving to use more C++11 library features and more
multithreading features. I think this is a good thing. However, we're
hitting a specific issue on cygwin
2000 Sep 13
3
end-user mode for a moment (side-by-side tests)
Smack my curiosity, but I encoded some songs in Vorbis mode 2 and tried
to be able to distinguish the difference between that and the uncompressed
WAVs. (*smacks self*) but here's what I noted:
It's actually kind of hard to tell the difference :) (and I consider myself
to have a decent set of ears, though not anywhere near the best)
I got my accuracy to about 90%, but I couldn't
2006 Jul 25
18
[PATCH] turn off writable page tables
At OLS I gave a talk on some of the Xen scalability inhibitors, and one
of these was writable page tables. We went over why the feature does
not scale, but just as important, we found that the uniprocessor case
does not provide any advantage either. These tests were done on x86_64,
so I wanted to run the 1-way test on 32 bit to show the same problem.
So, I have run with writable PTs and
2006 Jun 11
47
Ruby on Rails and CakePHP Comparison
>From a development standpoint, what are the features that make Ruby on
Rails a better choice compared to CakePHP?
--
Posted via http://www.ruby-forum.com/.