Displaying 5 results from an estimated 5 matches for "untario".
Did you mean:
ontario
Error: Before updating scaffolding from new DB schema, try creating a table for your model (Product)
2006 Feb 10
3
Error: Before updating scaffolding from new DB schema, try creating a table for your model (Product)
...instruction on rubyonrails.org, exactly step by step.
But the error occur everytime I tried to generate scaffold or generate
model.
I tried to googling around, I tried to reinstall Ruby''s mysql library
using gem, but it failed.
Help anyone? I''m totally stuck here :(
--
Tirta K. Untario
2006 Feb 11
6
models and validation problem
In my model, I am attempting to correct some bad data rather than just
pass an error message back to the user. The problem is that my fix
seems to get the data past validation but it then puts the bad data into
the database rather than the new(and improved) data. If I pass in
web_site with the value of ''www.test.com'', it will pass validation but
it won''t add
2006 Feb 11
3
read-only access to database?
I have a model (Query) which I use to, of all things, query the database. This
is to enable raw SQL access. I want to ensure that db access using this model
is read-only. Short of checking the sql query for ''insert'' and ''drop'' and
''update'', is there a more rails-like way of doing this in my app/models/query.rb
itself?
Thanks in advance,
2006 Feb 11
7
Rails development on Mac OS X 10.4 Intel
Hi all,
I would like to start a thread on RoR related issues on the new Intel
version of Mac OS X. I have been using Apple''s new iMac Core Duo
(which comes with Intel version of Mac OS X) for about a week now.
Here''s my experience:
Ruby 1.8.4: It compiles albeit with many warnings. Most warnings
were about "differ in signedness". It seems to work okay
2006 Feb 10
22
Mongrel 0.3 -- Runs Ruby On Rails
Hello Folks,
This is the long awaited release of the Mongrel HTTP library that
supports *Ruby On Rails*. I know tons of people have been waiting
for it, so I''ve got a few things to lay down first before you get all
excited:
1) It''s very very ALPHA support for Rails. It will run a Rails app,
and runs my simple apps, but it''s not fast or correct as it needs to