[Rails] Re: ActionController::Live in development without "config.cache_classes = true"?

2014-04-01 Thread Kristijan Sedlak
+1 On Thursday, August 15, 2013 5:05:06 PM UTC+2, Maximilian Busch wrote: > > Hey all, > > we recently ported to Rails 4.0 from 3.2.13 with our application and were > really excited about the new ActionController::Live functionalities. Part > of our application is a messaging/notification system

[Rails] Re: ActionController::Live in development without "config.cache_classes = true"?

2014-04-01 Thread Kristijan Sedlak
Just add config.allow_concurrency = true to your development.rb. On Thursday, August 15, 2013 5:05:06 PM UTC+2, Maximilian Busch wrote: > > Hey all, > > we recently ported to Rails 4.0 from 3.2.13 with our application and were > really excited about the new ActionController::Live functionalities

[Rails] Cannot execute stored procedure in Rails 3 and mysql2 gem

2014-04-01 Thread Nirmalya Ghosh
Hi All, Suppose I have a stored procedure named procedure(). Running ActiveRecord::Base.connection.execute("CALL procedure()") will give you a bunch of errors in different cases while using mysql2 adapter like: ActiveRecord::StatementInvalid: Mysql2::Error: PROCEDURE can't return a result set in

Re: [Rails] Strange thing in Rails views

2014-04-01 Thread Karthikeyan A K
Ya possibly. Any way did a work around. Thanks a lot for your replies. On Wed, Apr 2, 2014 at 12:19 AM, Matt Jones wrote: > > > On Tuesday, 1 April 2014 06:50:20 UTC-4, Karthikeyan A K wrote: >> >> >> >> On Tue, Apr 1, 2014 at 2:04 PM, Colin Law wrote: >> >> On 1 April 2014 06:11, Karthikeyan

Re: [Rails] Strange thing in Rails views

2014-04-01 Thread Matt Jones
On Tuesday, 1 April 2014 06:50:20 UTC-4, Karthikeyan A K wrote: > > > > On Tue, Apr 1, 2014 at 2:04 PM, Colin Law >wrote: > >> On 1 April 2014 06:11, Karthikeyan A K <77m...@gmail.com > >> wrote: >> > Hello people, >> > >> > I am developing an app with Rails 4.0.x and I have a strange bug in it

[Rails] Re: Unable to delete post in sample blog application

2014-04-01 Thread mike2r
On Tuesday, April 1, 2014 3:36:13 AM UTC-4, Peter Heylin wrote: > > @Abdulsattar Mohammed, > > There are no javascript errors in the console and jquery-ujs appears to be > loaded (see head of page source below). > > Blog http://192.168.100.13:3000/assets/application.css?body=1>" > > media="

[Rails] Re: CMS Recommendations

2014-04-01 Thread masta Blasta
Peter D Bethke wrote in post #1141605: > Hello all, > > > I’m moving to Rails from another OO language where I’ve built my own > extensive CMS systems - and I’m the kind of guy who learns by breaking > things and figuring out why they broke. Strange method but true - I > guess > I’m just the impati

Re: [Rails] Strange thing in Rails views

2014-04-01 Thread Colin Law
On 1 April 2014 11:50, Karthikeyan A K <77mi...@gmail.com> wrote: > > > On Tue, Apr 1, 2014 at 2:04 PM, Colin Law wrote: >> >> On 1 April 2014 06:11, Karthikeyan A K <77mi...@gmail.com> wrote: >> > Hello people, >> > >> > I am developing an app with Rails 4.0.x and I have a strange bug in its >> >

Re: [Rails] Strange thing in Rails views

2014-04-01 Thread Karthikeyan A K
On Tue, Apr 1, 2014 at 2:04 PM, Colin Law wrote: > On 1 April 2014 06:11, Karthikeyan A K <77mi...@gmail.com> wrote: > > Hello people, > > > > I am developing an app with Rails 4.0.x and I have a strange bug in its > > view. Say I have a partial like this > > > > %p= @bject,name # would work perf

Re: [Rails] Strange thing in Rails views

2014-04-01 Thread Colin Law
On 1 April 2014 06:11, Karthikeyan A K <77mi...@gmail.com> wrote: > Hello people, > > I am developing an app with Rails 4.0.x and I have a strange bug in its > view. Say I have a partial like this > > %p= @bject,name # would work perfectly Does using @object,name also work (not @bject which you ha

[Rails] Re: Unable to delete post in sample blog application

2014-04-01 Thread Peter Heylin
@Abdulsattar Mohammed, There are no javascript errors in the console and jquery-ujs appears to be loaded (see head of page source below). Blog http://192.168.100.13:3000/assets/application.css?body=1>" media="all" rel="stylesheet" />http://192.168.100.13:3000/assets/comments.css?body=1>"