There are some activerecord tests that are failing on my machine. I
suspect this is because I'm still using mysql 4.1 (since that's what I
deploy to).
In particular, in the active schema tests we check that a column of
the correct type has been added with "SHOW FIELDS FROM delete_me where
Hi everyone,
I submitted a patch that creates a new add_counter_cache_column method
available to migrations. Apart from creating the _count
column for you (with default 0), this will update the counter with the
current value for each row. So:
def self.up
add_counter_cache_column :posts, :comme
*"Ever wondered if you could make your MIND 10 Times more powerful? and Let
your INTUITIONS Guide you through all the troubles in life?**"*
* If you think Mind Power is Essential then read on.
*
*What is Silva UltraMind ESP?**(To Watch the VIDEO click the link below)*
* *It is the *most power
Hi Lawrence,
TimeZone#to_s is used primarily for displaying the zone to average
users (in the time_zone_select dropdown) whereas TimeZone#inspect is
geared toward programmers.
Changing #to_s to display GMT should therefore only affect how the
time zone offset is communicated to the end user. A p
Currently, construct_finder_sql gives precedence to :select defined
within the current scope over any passed in option. Unfortunately this
breaks what I thought was a nice clean solution to finding what tags
were applied to a model within a scope, e.g:
module Taggable
def self.included(
Please post this question on the rubyonrails-talk mailing list. This list is
reserved for rails-core specific issues only.
On Tue, May 20, 2008 at 5:23 PM, Sunny Bogawat <
[EMAIL PROTECTED]> wrote:
>
> Hi, in my application i want to develop a code where when i click on
> download link , csv file
On Mon, May 19, 2008 at 6:38 PM, Jochen Kaechelin <[EMAIL PROTECTED]>
wrote:
>
> I'am just coding about 50 has_finder lines and I asked myself if it's
> a good idea to wait for 2.1 final and use named_scope instead.
You don't have to wait for 2.1, you can use has_finder and just rename the
metho
Hi, in my application i want to develop a code where when i click on
download link , csv file get downloaded to client side.
so for this i put
Download the group template (requires Excel).(download_template.csv
is my public dir.)
code in rhtml.its working correctly for IE but in Mozilla it dir