hola por favor yo quiero baja rubyonrails-talk este ymail gracias
On 03/04/2013, Colin Law clan...@googlemail.com wrote:
On 3 April 2013 20:58, John Merlino stoici...@aol.com wrote:
In console, I run the following and any? returns true:
drivers = Driver.select(drivers.*,
In console, I run the following and any? returns true:
drivers = Driver.select(drivers.*,
drivers.id).joins([:reports, :driving_habits]).where(extract(MONTH
FROM reports.time) = ? AND extract(YEAR FROM reports.time) = ?, 3,
2013).uniq.order(drivers.id asc).page(2).per(1)
drivers.any?
= true
This
On 3 April 2013 20:58, John Merlino stoici...@aol.com wrote:
In console, I run the following and any? returns true:
drivers = Driver.select(drivers.*,
drivers.id).joins([:reports, :driving_habits]).where(extract(MONTH
FROM reports.time) = ? AND extract(YEAR FROM reports.time) = ?, 3,
Hello, something strange happened to my app, and i can't fogure out whats it.
for example when i type something in form field im wrting from right to left...
when i have horizontal unordered list , the first element is most to
the right too :/
does that ring a bell to anyone?
--
You received
On 21.02.2012, at 14:13, Marcin S wrote:
Hello, something strange happened to my app, and i can't fogure out whats it.
for example when i type something in form field im wrting from right to
left...
when i have horizontal unordered list , the first element is most to
the right too :/
2012/2/21 Valery Kvon adda...@gmail.com:
On 21.02.2012, at 14:13, Marcin S wrote:
Hello, something strange happened to my app, and i can't fogure out whats it.
for example when i type something in form field im wrting from right to
left...
when i have horizontal unordered list , the first
hi people
I have something strange here, and I would like to share it with you,
to find a solution or at least, different opinion.
I have a rails 3.0.9 app. I'm trying to store historical data so I
made the following.
I have 3 tables invoices, purchases, detail_purchases. I'm using
I think this is strange (at least):
in test/models/topic.rb line 52
Topic class declares:
serialize :content
But after running ARCONN=sqlite3 ruby -Itest test/cases/finder_test.rb
I found this in the test/fixtures/fixture_database.sqlite3 database
sqlite select content from topics;
Have a nice
On 28 Apr 2011, at 03:22, Ernesto Rocha ernestorro...@gmail.com wrote:
Guys,
I'm using some AJAX on my application, but when protect_from_forgery is on
sometimes it works and sometimes the user session is killed. Today i found
out why.
It happens the following:
The
How i escape it before the rails server process it ?
Thanks,
Ernesto
On Thu, Apr 28, 2011 at 4:58 AM, Frederick Cheung
frederick.che...@gmail.com wrote:
On 28 Apr 2011, at 03:22, Ernesto Rocha ernestorro...@gmail.com wrote:
Guys,
I'm using some AJAX on my application, but when
Guys,
I'm using some AJAX on my application, but when protect_from_forgery is on
sometimes it works and sometimes the user session is killed. Today i found
out why.
It happens the following:
The authenticity_token is sent correctly as you can see below,
Started DELETE
I was working with the method in_time_zone for the class
ActiveSupport::TimeZone, when I found an unwanted behavior.
I want to set my sights so that display the times for the main zone of
Brazil (UTC-3). During the period not DST there is no problem.
Instead to view the times for the period DST
System problems with rails ?
I have dveloped a rather complex rails application with many gems and
pluginsg.
It worked fine until some days ago, when I started to get some
unredicatble errors that I cannot understand
When I use a certain function for the second time, the system responds
with the
I have a class named Source and a controller named SourceController
etc.
When I use Source.column_names in the view all names except names
ending in _id is listed, although according to the documentation all
names should be listed
When I use Source.column_names in the source controller it
Hello, I have a strange behavior and don't know why.
If I override attributes from AcitveRecord object like below:
def end_date=(date)
date = date.to_date unless date.blank?
write_attribute(:end_date,date)
end
def end_date
date = read_attribute(:end_date)
Greetings.
I've got very strange behavior of alias_method_chains, and I hope
someone will advise me.
I have a rails 2.2.2 app created with
#rails aliasApp
, a class XYZ residing in app/helpers/xyz.rb:
code
class XYZ
attr_accessor :name
attr_accessor :value
def initialize (a, b)
16 matches
Mail list logo