hugoribeira
Cmon Ruby People (or N+1 is not a feature)
Refactoring Rails Models with Database Views
Ask HN: Number of API back ends VS Full stack back ends
Most tools today are still optimized for full-stack html responses.I'm wondering what the numbers are on api vs html apps with the growth of mobile users.How are you building your apps?
Re:DRYing Elixir Tests with Macros
on Wednesday February 17, 2016 @09:02AM (#11117870)
I agree, you should be very careful about DRYing tests. Making sure and endpoint touches the authentication layer seems like a very good case to break that rule of thumb.
I've been writing Web Applications for a while now. There was only a handful of cases where I needed to repeat the same test case over and over again (authentication being one of them).
If it happens too often, it's a good tell that you're missing a responsability delegation into a concrete module/class somewhere.
Re:DRYing Elixir Tests with Macros
on Wednesday February 17, 2016 @08:59AM (#11117852)
I don't think so, I believe the function calls need to be there at compile time so that the test actually gets run.
But I'll give it a try tonight though :)
Re:DRYing Elixir Tests with Macros
on Wednesday February 17, 2016 @07:51AM (#11117479)
True. It's an Elixir best practice to keep macro definitions short and basically make them invoke functions as match as possible.
No perfect answer I guess...
Re:DRYing Elixir Tests with Macros
on Wednesday February 17, 2016 @07:25AM (#11117334)
All the good bits are there, I hope it gains sustainable traction :)
DRYing Elixir Tests with Macros
Building an API Facade with Elixir and Phoenix
Rails: Getting validations out of your model
A captcha solver in Ruby
3 Things I Was Completely Wrong About
Re:Youtube search is down
on Wednesday March 12, 2014 @01:21PM (#7386937)
It only seems to blow up if you're logged in though.
Youtube search is down
This is resulting in a 500 for me.http://www.youtube.com/results?search_query=parapente&sm=3