paneq

- friends
43 link karma
7 comment karma
send messageredditor for

ActiveReload - mission accomplished by snatcheryin rails

[–]paneq 0 points1 point ago

Wow, thank you :) That was very nice of you.

ActiveReload - mission accomplished by snatcheryin rails

[–]paneq 0 points1 point ago

It has no problems with asset pipeline, I assume?

Validation error objects by kryptofilesin rails

[–]paneq 2 points3 points ago

Trying to use objects instead of strings as error messages so that when they are converted to json it is easy to extract data from them like min and max possible lenght. Json clients can build their own messages based on that and classic rails html views also can make a good use. It's way easier than simply parsing a string, isn't it ? How would your solution create <strong>count</strong> string? Would you build html in translations ? Would you send translation with html snippets to mobile phones?

Speeding Up Devise Tests by kdubiein ruby

[–]paneq 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Email validation in Ruby On Rails 3 or Active model without regexp by simdamin ruby

[–]paneq -1 points0 points ago

sorry, this has been archived and can no longer be voted on

Simple Worker Queue with Procs in MagLev by radarekin ruby

[–]paneq 0 points1 point ago

sorry, this has been archived and can no longer be voted on

But I guess that the server for storing objects is closed source (http://gemstone.com/products/gemstone) and there is no much use from maglev without the persistence feature.

Evil Class Methods by paneqin ruby

[–]paneq[S] 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Rails development mode 300% faster by snatcheryin ruby

[–]paneq 0 points1 point ago

sorry, this has been archived and can no longer be voted on

It doesn't try to be too smart and reloads the whole app. The same way Rails does normally.

Rails development mode 300% faster by snatcheryin ruby

[–]paneq 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I wish I knew. I would create an issue in such case. I believe that I am pretty good at finding what's wrong and sometimes even fixing it (https://github.com/apotonick/apotomo/issues/28 - one of the weirdest bug that I hunted recently) but I couldn't track it down.

If rails-dev-boost works for some people and makes them happy and more productive then it is awesome and kudos for the creators which are probably much smarter than I am. It didn't work for me as well as it does for others so I created a very simple alternative solution. It does not change rails code reloading, does not try to make it faster, there is no voodoo. Only one simple change that makes huge difference and is not likely to cause any trouble.

Rails development mode 300% faster by snatcheryin ruby

[–]paneq -1 points0 points ago

sorry, this has been archived and can no longer be voted on

lewy313 is my friend working on stopango.com . They also use this gem so it is likely that he upvoted my post because I told him about it.

Rails development mode 300% faster by snatcheryin ruby

[–]paneq 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Yes, currently it needs ruby1.9.2 but that will change.

Rails development mode 300% faster by snatcheryin ruby

[–]paneq 0 points1 point ago

sorry, this has been archived and can no longer be voted on

It didn't work well for my app. The nice thing about active_reload is that it is very unlikely to break anything.

Rails development mode 300% faster by snatcheryin ruby

[–]paneq 0 points1 point ago

sorry, this has been archived and can no longer be voted on

http://youtubedoubler.com/1fts - I think that spree was a good example app to pick up because everybody can try it for himself and it is big enough to make you see the difference and the benefits. Small rails apps don't need such things.

Rails advise requested by fobitzin rails

[–]paneq 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Make your live easier (in the future) and harder (now) and use 3.1 .