If you have an urgent need for an RoR expert, I don't think you're in the
position to dictate location, :)
Allow out-of-town/state/country people to apply and you might be able to
find someone.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Also, there is this guide from Jeremy McAnally,
http://www.railsupgradehandbook.com/
On Jun 10, 3:47 am, Owain owain.mcgu...@gmail.com wrote:
Has anyone developed or come across on how to migrate to Rails 3 from
prior releases. I would like an idea of how much work it would be.
O.
--
You
I don't know if STI is appropriate here.
You should probably have a model called Rating which is the many side
of one-to-many with the User model. The Rating model should be
polymorphic so that you can use it to rate both Word and Quote
objects.
So, it would most likely look like this:
class
I don't know if STI is appropriate here.
You should probably have a model called Rating which is the many side
of one-to-many with the User model. The Rating model should be
polymorphic so that you can use it to rate both Word and Quote
objects.
So, it would most likely look like this:
class
Those should be has_many...
I'm not sure if I understand you here. You mean that Word and Quote
should have more than one rating per instance? That's why I put them
as has_one.
On Apr 16, 10:53 am, Marnen Laibow-Koser rails-mailing-l...@andreas-
s.net wrote:
Srdjan Pejic wrote:
I don't know
To quickly answer your second question, you need both. The reason for
that is that validates_uniqueness_of does not guarantee fully unique
column values, since it's at the application level. The unique
constraint in the db schema can be viewed as a backup.
I'll answer your main question shortly.
This may be a bit off-topic, but I am of the opinion that you need a
strong data model to effectively work in Rails. Therefore, anything
that makes sense when creating a normal data model applies to the
Rails one. I mean, you wouldn't leave off FK constraints if you were
writing a Java or a .NET
I think that every adapter includes a driver. So a MySQL adapter for
Rails includes driver information or utilizes a pre-existing driver
for Ruby. The adapter then uses the raw data brought back from the
database through an SQL statement that's been generated and makes an
ActiveRecord object
, then the timeouts are happening on the DB server
or there's a communication problem between the app servers and the DB
server.
HTH
On Sep 11, 5:05 pm, Jack Christensen [EMAIL PROTECTED] wrote:
Srdjan Pejic wrote:
Does it happen on a certain action or when accessing actions in a
certain
9 matches
Mail list logo