Displaying 8 results from an estimated 8 matches for "mandhro".
Did you mean:
mandar
2006 Mar 23
11
ActiveRecord: Oracle metadata loading slow on large database
All,
While attempting to use ActiveRecord against a large database, approx.
1700 tables and 4 million rows, I discovered an inefficiency in
oci_adapter.rb. The problem seems to be the SQL being generated to
lazy-load the columns metadata. "def columns(table_name, name = nil)"
method generates the following SQL:
select column_name, data_type, data_default, nullable,
2006 Mar 29
2
1.1 ruby schema breaks MySQL FULLTEXT index
If you used MySQL FULLTEXT indexes and just upgraded to Rails 1.1, watch
out for this one. Rails 1.1 now defaults to Ruby as your schema format.
So instead of development-structure.sql, Rake will use schema.rb.
That''s portable and good stuff overall but there is a slight
compatibility issue. Ruby schema doesn''t know how to do FULLTEXT index
syntax for MySQL.
To work around it,
2006 Jul 27
9
Introspecting validates_presence_of
Hello people,
I''d like to detect whether an attribute of a model has
vaildates_presence_of applied to it so I can automatically apply a
mandatory (*) to the field...it doesn''t look easy...any ideas?
Cheers,
--
Dan Webb
http://www.danwebb.net
2006 Mar 29
6
RadRails Broke with 1.8.4 / 1.1
I''ve been using the radrails eclipse plugin with ruby 1.0 & Rails 1.8.2
up until this morning... I just installed Ruby 1.8.4 (one-click
installer rc1) and Rails 1.1. Now the rails eclipse plugin does not
seem to be aware of how to run ruby and has lost the ability to start
the webrick server. I''m sure it''s a simple configuration issue but the
radrails
2010 Jan 30
12
Best way to connect various applications?
Good evening,
I''ve got three different self-programmed Rails application I need to
connect and manage with a 4th "supervisor" application.
There''s a wiki application, there''s a shop application and there''s a
business directory application all with seperate user database etc.
What I want now is one single user table so it can be all controlled by
one
2006 Apr 23
0
Using unicode_hacks breaks Rails 1.1 RJS
All,
I wasted an hour on this, so here''s a quick post to save you from the
same. If you are using
"unicode_hacks":http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/
for "multi-lingual
support":[http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings/versions/40]
(i18n), there''s a gotcha - RJS templates will not work.
The culprit is
2006 Mar 29
0
Ruby 1.8.4 causes script errors and invalid chars in RHTML
All,
This little bug caused me an hour so I thought I''d save others from it.
I upgraded to Rails 1.1RC and Ruby 1.8.4RC for Windows. 90% of the app
was working fine but a few RHTML templates were throwing a compile
error, with parse errors and invalid chars.
The culprit, tabs. Turns out Ruby 1.8.2 with Rails 1.0 didn''t care about
tabs in your templates but the new
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
All,
I have run into a road block with my RoR project. The app works fine
without SSL but when I try to upload a file with the site running in
HTTPS, cgi.rb throws an EOFError:
[13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content
body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart?