Re: [Rails] Debugging Rails - Request for tips, tricks and hacks

2011-05-27 Thread Joe Developer
that we are in the process of migrating from Rails 2.3.5 to 3.0.7 and are faced with 2k+ failing tests. We know exactly the commit that caused it ;) But we need to fix debug / fix the app within those parameters. > Best Wishes, > Peter > > On May 27, 2011, at 8:47 AM, Joe Developer wro

[Rails] Debugging Rails - Request for tips, tricks and hacks

2011-05-27 Thread Joe Developer
Hi, I am wondering if you guys would be kind enough to point me to resources that you find are valuable to your debugging efforts, or would be to someone beginning to become structured about efficient debugging. Relating to that, I would like to automagically drop to the debugger just before the

Re: [Rails] Performing Faster...

2010-09-01 Thread Joe Developer
I can't help myself from asking, why did you choose rails for this in the first place? On Wed, Sep 1, 2010 at 2:59 PM, Mohit Sindhwani wrote: > Hi All, > > We are building a maps based site in which we serve out map tiles created > by us. The entire application is working well enough and we ha

Re: [Rails] Is there anything else I can use besides rails?

2010-08-07 Thread Joe Developer
eventmachine, mongrel2 hell, you can do http server as a oneliner so.. ;) Yeah, there are lots of sexy ways you can apply ruby outside the rails, which, to be honest, is mostly sought after by those who don't know and milked by those who don't care. On Sun, Aug 8, 2010 at 4:55 AM, Angel Robert M

Re: [Rails] Re: How to test the performance of our code

2010-07-15 Thread Joe Developer
On Thu, Jul 15, 2010 at 8:37 PM, Ar Chron wrote: > swetha wrote: > > Hi all, > > > > I want to know ,what factors are involved in checking the performance > > of our code in rails 2.3.5 and above versions? > > > Same as with just about any platform, benchmarks and code inspection. Tools I found

Re: [Rails] Re: How can I improvement concurrence performance?

2010-06-28 Thread Joe Developer
On Tue, Jun 29, 2010 at 5:03 AM, Joe Developer wrote: > > > On Tue, Jun 29, 2010 at 3:43 AM, dieinzige wrote: > >> hi >> unciron is non faster then mongrel or thins or passenger >> try analyze your applications, buy log, or tools such as new relic >> after t

Re: [Rails] Re: How can I improvement concurrence performance?

2010-06-28 Thread Joe Developer
ebase. ruby-prof + KCachegrind ftw. > > > > > On 28 Jun, 2010,at 03:32 PM, Joe Developer > wrote: > > Try unicorn, it is dead easy; > > sudo gem install unicorn > > cd /yourRailsRoot > > unicorn_rails > > it will listen on 8080 by default. > &g

Re: [Rails] Re: How can I improvement concurrence performance?

2010-06-28 Thread Joe Developer
Try unicorn, it is dead easy; sudo gem install unicorn cd /yourRailsRoot unicorn_rails it will listen on 8080 by default. On Mon, Jun 28, 2010 at 8:39 PM, Lecky wrote: > Try to use some third party web service to host your app, like Heroku > or Amazon Web Service EC2. > > Cheers, > Lecky La

Re: [Rails] How to Print Rails Source

2010-06-19 Thread Joe Developer
Yes, lets use more paper. That is a fantastic Idea! The color thing just makes it even better. How about using the blood of oil covered pelicans for red and the skin of dolphins for blue? Can't quite think of anything for green, but who needs that anyway. On Sat, Jun 19, 2010 at 8:41 PM, Matt Di P

[Rails] Render model to json-schema?

2010-06-18 Thread Joe Developer
http://stackoverflow.com/questions/3068792/how-can-i-export-a-rails-model-to-json-schema I am looking to optimize how we build forms for some of our models and ideally I would like to build them from json-schema. Is there a gem or the like which would allow me to export a model definition to json