Ładuję...
photo
zaloguj się i wrzuć coś ciekawego na flakera

niedziela 24 stycznia

aktywność użytkownika
photo
Just In Time, Not Just In Case Something that has finally become a habit for me is adding code when it is needed, not in case it is needed. Often times we “think” we are going to need something, so we add the code to support it. What happens most ofte... #Code #Refactoring Zobacz wpis
  1.  

sobota 26 grudnia

aktywność użytkownika
photo
Do what you love mirage Shared by Michal
“We tend to forget that happiness doesn’t come as a result of getting something we don’t have, but rather of recognizing and appreciating what we do have.”– Frederick Koenig Zobacz wpis
  1. photo krzysiek fajne! 
  2.  
photo

poniedziałek 7 grudnia

aktywność użytkownika
photo
Programmers Anonymous I recently had an opportunity to work on a relatively high-profile project with a crazy timeline. A coworker and I spoke with the client for the first time around lunchtime on a Friday, and the client needed a completed website,... Zobacz wpis
  1.  

środa 21 października

aktywność użytkownika
photo
Nginx & Comet: Low Latency Server Push - igvita.com #Ajax #Plugin #Web #Data #Programming #Development #Rails #Webdev #Nginx #Comet Zobacz wpis
  1.  

środa 14 października

aktywność użytkownika
photo
21 Rack Middlewares To Turbocharge Your Ruby Webapps If you've worked with Web apps using Ruby, you might know of Rack, an interface that sits between Ruby applications and HTTP-speaking Web servers. All of the major Ruby frameworks and server setups ... #CompilationPosts #Elsewhere #RubyOnRails Zobacz wpis
  1.  

poniedziałek 12 października

aktywność użytkownika
photo

wtorek 29 września

aktywność użytkownika
photo
Make your shoulda tests faster with fast_context I’ve been using Shoulda for a while. And for my current project, I decided to go fixtureless with Shoulda + Factory Girl. All good, except one problem. Slow as fuck tests. So here’s fast_context as a solution for it. fast_context compiles all the ‘should’s within a context into a single test.
For example :
1
2
3
4
5
6
7
8
9
10
11
class UsersControllerTest < ActionController::TestCase
fast_context "#new" do
setup do
@... #Shoulda #Test Zobacz wpis
  1.  

czwartek 24 września

aktywność użytkownika
photo
SecureRandom -- Stop writing your own random number and string generators Good point.
#Railstips #Rails Zobacz wpis
  1.  

niedziela 20 września

aktywność użytkownika
photo
Make your shoulda tests faster with fast_context I’ve been using Shoulda for a while. And for my current project, I decided to go fixtureless with Shoulda + Factory Girl. All good, except one problem. Slow as fuck tests. So here’s fast_context as a so... #Shoulda #Test Zobacz wpis
  1.  
photo
Make your shoulda tests faster with fast_context I’ve been using Shoulda for a while. And for my current project, I decided to go fixtureless with Shoulda + Factory Girl. All good, except one problem. Slow as fuck tests. So here’s fast_context as a so... #Shoulda #Test Zobacz wpis
  1.  

piątek 18 września

aktywność użytkownika
photo
swallow nil Shared by Michal
ciekawe :)
I’ve been using this for about a year and a half.
Abomination or legitimate tool for the box?
Usage
two dots or more. nil anywhere in the chain is an acceptable response.
campaign = swallow_nil { supporter.po... Zobacz wpis
  1.  

poniedziałek 31 sierpnia

aktywność użytkownika
photo
Three reasons to love ActionController::Responder Shared by Michal
Rails 3 is going to be so cool!
A couple weeks ago, I wrote about the newly added ActionController::Responder which summarizes your application behavior for a specified format in just... Zobacz wpis
  1.  
photo
Three reasons to love ActionController::Responder A couple weeks ago, I wrote about the newly added ActionController::Responder which summarizes your application behavior for a specified format in just one place. For example, the default html behavior... #Edge #Rails #Responder Zobacz wpis
  1.  

piątek 7 sierpnia

aktywność użytkownika
photo
save! > save Thoughtbot folks have a great article on not expecting exceptions – save bang your head, active record will drive you mad. I’ll admit, just like the poster, I used to use save! in controllers to DRY my code. And have a global rescue_from in application.rb. But over the time, I changed the camp and now I’m fully in that “Don’t expect expectations” camp. Some things are more important that DRYing 3 lines of code.
But I’d want to take this a step further. When you’re not expecting so... #Activerecord #Practise Zobacz wpis
  1.  
photo
save! > save Thoughtbot folks have a great article on not expecting exceptions – save bang your head, active record will drive you mad. I’ll admit, just like the poster, I used to use save! in controllers to DRY my code. And have a global rescue_fr... #Activerecord #Practise Zobacz wpis
  1.  
photo
save! > save Thoughtbot folks have a great article on not expecting exceptions – save bang your head, active record will drive you mad. I’ll admit, just like the poster, I used to use save! in controllers to DRY my code. And have a global rescue_fr... #Activerecord #Practise Zobacz wpis
  1.  

sobota 1 sierpnia

aktywność użytkownika
photo
tig, the ncurses front-end to Git Shared by Michal
command-line interface to #git
This is a guest post from Nathan de Vries.
I’ve never really been a fan of gitk, but early on when I started using Git I found a tool called tig. It’s available in MacP... Zobacz wpis
  1. photo krzysiek fajne! 
  2. photo iktorn dodałem tego flaka do historyjki:Mini devguru 
  3. photo szajbus dodałem tego flaka do historyjki:rails, git and other sh*t 
  4.  

wtorek 28 lipca

aktywność użytkownika
photo
photo

poniedziałek 20 lipca

aktywność użytkownika
photo
XHTML died alone, the semantic web is next Story time:
Thursday, July 2nd 2009. Officials announce the death of XHTML2. Multiple suspects, including HTML4, HTML5 and XHTML1 have been taken into pre-trial custody.
The investigation is difficult. XHTML1... Zobacz wpis
  1.  

sobota 11 lipca

aktywność użytkownika
photo
When I Enter the Office, the Imperial March Plays Shared by Michal
fajna idea :)
A long time ago in an office far, far away… robot wars! I mean, budget surplus! We had a bit extra in the budget a while back and so we did what any responsible business... Zobacz wpis
  1.  

poniedziałek 25 maja

aktywność użytkownika
photo
Burnout Does every day feel like a bad day? Blurry boundaries between work and home, and the “always on” demands of the web can lead to depression and burnout. Learn the signs of burnout and how to maintain your bliss. #Culture #State #Of #The #Web Zobacz wpis
  1.  

niedziela 17 maja

aktywność użytkownika
photo
Include vs Extend in Ruby In which I show the difference between include and extend when working with modules in Ruby.
Now that we know the difference between an instance method and a class method, let’s cover the difference between include and extend in regards to modules. Include is for adding methods to an instance of a class and extend is for adding class methods. Let’s take a look at a small example.
module Foo
def foo
puts 'heyyyyoooo!'
end
end
class Bar
include Foo
end
Ba... #Beginner #Extend #Include Zobacz wpis
  1.  
photo
Include vs Extend in Ruby In which I show the difference between include and extend when working with modules in Ruby.
Now that we know the difference between an instance method and a class method, let’s cover the difference between include and extend... #Beginner #Extend #Include Zobacz wpis
  1.  
photo
Include vs Extend in Ruby In which I show the difference between include and extend when working with modules in Ruby.
Now that we know the difference between an instance method and a class method, let’s cover the difference between include and extend... #Beginner #Extend #Include Zobacz wpis
  1.  
pokaż więcejPoczekaj, trwa ładowanie...KONIEC