You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tried to use your plugin, but when doing on a simple model Ping, it raised an exception on
Ping.olap_drilldown(:created_daily => :period_1)
ActiveRecord::StatementInvalid: Mysql::Error: Unknown column '' in 'where clause': SELECT pings.* FROM pings WHERE (((>= '2009-11-22 00:00:00' AND < '2009-11-23 00:00:00') AND ((>= '2009-11-21 00:00:00' AND < '2009-12-05 00:00:00'))))
enable_active_olap do |olap|
# Easily create a trend dimension
olap.dimension :created_daily, :trend => {
:timestamp_field => :created_at,
:period_length => 1.day,
:period_count => 20
}
end
The text was updated successfully, but these errors were encountered:
Hey Willem,
tried to use your plugin, but when doing on a simple model Ping, it raised an exception on
Ping.olap_drilldown(:created_daily => :period_1)
ActiveRecord::StatementInvalid: Mysql::Error: Unknown column '' in 'where clause': SELECT
pings
.* FROMpings
WHERE (((>= '2009-11-22 00:00:00' AND
< '2009-11-23 00:00:00') AND ((>= '2009-11-21 00:00:00' AND
< '2009-12-05 00:00:00'))))enable_active_olap do |olap|
# Easily create a trend dimension
olap.dimension :created_daily, :trend => {
:timestamp_field => :created_at,
:period_length => 1.day,
:period_count => 20
}
end
The text was updated successfully, but these errors were encountered: