rails-api released (groups.google.com)
submitted 1 month ago by paneq to rails
Modules called, they want their integrity back (blog.8thlight.com)
submitted 3 months ago by paneq to ruby
ActiveReload - mission accomplished by snatcheryin rails
[–]paneq 0 points1 point2 points 4 months ago
Wow, thank you :) That was very nice of you.
It has no problems with asset pipeline, I assume?
Validation error objects by kryptofilesin rails
[–]paneq 2 points3 points4 points 4 months 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?
Haml - Few months later (self.ruby)
submitted 6 months ago by paneq to ruby
Speeding Up Devise Tests by kdubiein ruby
[–]paneq 0 points1 point2 points 6 months ago
https://gist.github.com/6db5c7620c677f666ba5 - My solution.
Email validation in Ruby On Rails 3 or Active model without regexp by simdamin ruby
[–]paneq -1 points0 points1 point 6 months ago
http://version1.api.memegenerator.net/cache/instances/400x/10/10911/11173786.jpg
DCI is not against inheritance (bartoszblimke.com)
submitted 8 months ago by paneq to ruby
Simple Worker Queue with Procs in MagLev by radarekin ruby
[–]paneq 0 points1 point2 points 9 months ago
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 points5 points 10 months ago
You can also read more about this topic in this responses: http://mlomnicki.com/programming/ruby/2011/07/20/class-vs-instance-methods.html http://andrzejonsoftware.blogspot.com/2011/07/yes-nick-class-methods-are-evil.html
Evil Class Methods (nicksda.apotomo.de)
submitted 10 months ago by paneq to ruby
Rails development mode 300% faster by snatcheryin ruby
[–]paneq 0 points1 point2 points 10 months ago
It doesn't try to be too smart and reloads the whole app. The same way Rails does normally.
[–]paneq 1 point2 points3 points 10 months ago
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.
[–]paneq -1 points0 points1 point 10 months ago
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.
Yes, currently it needs ruby1.9.2 but that will change.
It didn't work well for my app. The nice thing about active_reload is that it is very unlikely to break anything.
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 points3 points 11 months ago
Make your live easier (in the future) and harder (now) and use 3.1 .
Faster Rails development part 2 - Annoucing Active Reload (blog.robert.pankowecki.pl)
submitted 11 months ago by paneq to rails
Faster rails development mode (3.0.7) (blog.robert.pankowecki.pl)
submitted 1 year ago by paneq to rails
Array#to_proc (blog.robert.pankowecki.pl)
submitted 1 year ago by paneq to ruby
all it takes is a username and password
create account
is it really that easy? only one way to find out...
already have an account and just want to login?
login
ActiveReload - mission accomplished by snatcheryin rails
[–]paneq 0 points1 point2 points ago