Re: [Rails] Re: Debugging errors in asset pipeline-compressed JS

2012-04-10 Thread Marko Anastasov
012 4:38:02 PM UTC+2, Marko Anastasov wrote: > > I have managed to isolate the application CS/JS from 3rd party libs, which > are temporarily sourced from dropbox, and run the app locally in staging > environment with manually precompiled assets. > > The problem is simply that

Re: [Rails] Re: Debugging errors in asset pipeline-compressed JS

2012-04-09 Thread Marko Anastasov
ressing a file should not be contributing to errors - it's likely > your production environment settings may have altered the environment > enough to produce these errors. Could you describe the problem in a > bit more detail so we can better guide you? > > On Apr 9, 8:03 am, Marko Ana

[Rails] Debugging errors in asset pipeline-compressed JS

2012-04-09 Thread Marko Anastasov
Hi, I have a situation where a big piece of CoffeeScript / JS work is working well uncompressed but not when compressed in the asset pipeline. I'm wondering about strategory how to debug this, and currently if it's possible to pass options to Uglifier from Rails configuration files? For exampl

[Rails] Get instances of all running Rack middleware

2010-10-13 Thread Marko Anastasov
Hi, I need to obtain an instance of a particular Rack middleware, to change its configuration at run time. Is it possible? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups

[Rails] Re: AJAX based chat plugin (beta)

2009-05-16 Thread Marko Anastasov
On May 16, 3:52 pm, "Phlip" wrote:> > How do you solve the basic problem that HTTP is Pull and Chat is Push? If I > use periodically_call_remote, and set the frequency low, the chats arrive > too slowly. If I set it high, then both the server and browser bog down with > frequent requests to Pull

[Rails] Re: Any plugin to send email asyncronously in the background

2009-04-20 Thread Marko Anastasov
delayed_job [0] is a nice plugin to do things in the background. mx. [0] http://github.com/tobi/delayed_job/tree/master On Apr 20, 7:02 pm, Ajaya Agrawalla wrote: > We would like to queue our emails and send them outside of the > application using an external SMTP provider.  Any plugin out t

[Rails] Re: AutosaveAssociation - Saving nested models without validation

2009-02-19 Thread Marko Anastasov
For the record, I've reported a bug with a failing test case on http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2013-autosave-associations-dont-create-nested-models-without-validation Marko On Feb 17, 3:27 pm, Marko Anastasov wrote: > Hi, > I'm using Rai

[Rails] Re: Can Anybody Tell How to do Google Map Mashup???

2009-02-17 Thread Marko Anastasov
Besides geokit, you could also investigate ym4r [*]. I personally started with it but dropped it and wrote all the javascript manually. Marko [*] http://ym4r.rubyforge.org/ On Feb 16, 2:49 pm, "Vrishali" wrote: > Hi > > I am using rails 2.2.2 , n want to mashup google map wit

[Rails] AutosaveAssociation - Saving nested models without validation

2009-02-17 Thread Marko Anastasov
Hi, I'm using Rails 2.3 RC1. I've noticed that calling save(false) on the model which accepts_nested_attributes_for :another doesn't create the nested model if it's invalid. It does save it if it's been previously created though. Is this known? If necessary I can prepare a minimal example. Mark

[Rails] Which status code for validation errors

2008-11-04 Thread Marko Anastasov
Hi, I need to manually specify an HTTP response code after I catch the ActiveRecord::RecordInvalid exception - as validation fails for data submitted via remote_form_for. Which one would be most appropriate? Currently I do: render :action => 'new', :status => 409 # conflict Marko --~--~-