Skip to main content

Home/ InnoDev/ Group items tagged rails

Rss Feed Group items tagged

Jozef Fulop

In-browser Rails console - 1 views

  •  
    Rails engine - moznost pouzit conzolu v prehliadaci... (Tato verzia je pre Rails 4, existuje vsak aj projekt pre Rails3.2)
Jozef Fulop

Migrating from a single Rails app to a suite of Rails engines [Rails application suites... - 0 views

  •  
    Pre inspiraciu
Jozef Fulop

Rails Quick Tips - ActiveRecord::Calculations.pluck - The Hashrocket Blog - 2 views

  •  
    Definitely less code but what is it doing? .pluck is a (misplaced?) calculation method that, like described above, is returning an array of results based
Jozef Fulop

Eager loading for greater good | Plataformatec Blog - 2 views

  •  
    Uvaha o sposoboch loadovania class v Rails, o ich thread-safety a pod.
Michal Holub

The 15 best gems for ruby on rails web applications - 0 views

  •  
    pekny zoznam uzitocnych gemov aj so strucnym popisom - vela veci urobil uz niekto pred nami, a tak netreba znovu vynachadzat koleso
Peter Vojtek

Rails 4.1: Spring - Rails application preloader - 0 views

  •  
    It speeds up development by keeping your application running in the background so you don't need to boot it every time you run a test, rake task or migration.
Peter Vojtek

Do Not Upgrade Your Rails Project to Ruby 2 Before You Read This - 0 views

  •  
    if you don't pass a header, by default Ruby will pass the header that will tell the external service that your app is ok with a Gzipped response (which is obviously wrong)
Jozef Fulop

Implementing Multi-Table Full Text Search with Postgres in Rails - 0 views

  •  
    Pouzitie VIEW + gin indexov + textacular gem na fultextove vyhladavanie v Postgrese
Michal Holub

TDD is dead. Long live testing. (DHH) - 3 views

  •  
    priamo od tvorcu Rails "... I rarely unit test in the traditional sense of the word, where all dependencies are mocked out..."
Stano Bocinec

Zaujimave security linky #1 - 2 views

http://sakurity.com/blog/2015/02/28/openuri.html - "Ruby: Using open-uri? Check your code - you're playing with fire! " http://blog.honeybadger.io/ruby-security-tutorial-and-rails-security-guide/ "...

security ssh programming linux android

started by Stano Bocinec on 04 Mar 15 no follow-up yet
Juraj Visnovsky

has_many considered harmful - 2 views

  •  
    has_many is an anti-pattern which leads straight to monolithic applications. However, a simple inversion can free us from its grasp. What is the first model you added to your application? Probably User, right? So, once you wrote user.rb and its corresponding tests, and committed it - why did you ever open that file up again to tell it about something that it did not need to know existed? Rails keeps you from reopening user.rb if you add a column to the User table, and this is good, right? So why, when you added a Posts table far away, did you open up User again to make it aware of Posts? Did the definition of being a user change? Did you did not realize you were violating the Open-Closed Principle, one of the 5 principles of SOLID design? Somewhere inside I bet you knew it felt dirty to keep opening up User and making it aware of things that it had been blissfully unaware of.
Peter Vojtek

How Airbnb Improved Response Time by 17% By Moving Objects From Memory To Disk - 2 views

  •  
    the translated strings are stored on the heap, where the garbage collector must scan over the objects on every run (at least in the case of Ruby MRI). For a mature process with all the translations loaded, this is almost 1 million objects! Second, each process has its own copy of the strings.
Michal Holub

Hakiri Facets - 0 views

  •  
    How secure are your Ruby projects? Scan Gemfile.lock for vulnerabilities, take action, and ship secure apps!
Peter Vojtek

Reading the Ruby Source to Understand Rails Idiosyncrasies - 2 views

  •  
    vysvetluje preco je toto zly pristup: (10.days.ago..2.days.ago).include? Date.today
Jozef Fulop

ActiveSupport::Callbacks - 0 views

  •  
    Elegantny sposob ako definovat a volat custom callbacks
Jozef Fulop

How to be an open source gardener - 0 views

  •  
    I do a lot of work on open source, but my most valuable contributions haven't been code. Writing a patch is the easiest part of open source. The truly hard stuff is all of the rest: bug trackers, mailing lists, documentation, and other management tasks. Here's some things I've learned along the way...
Stano Bocinec

Ruby Security Have You Not! - Hakiri - 0 views

  •  
    The first metric I was wondering about is the distribution of gems in Gemfiles. How many gems does a common Ruby developer use in their projects? The numbers are somewhat expected: the average number of gems per Gemfile is 113.08 with the standard deviation of 52.19.... The next question I had was how many of those gems contain at least one vulnerability? The numbers are staggering! 1,333 Gemfiles, or 66% of the total, are affected! I definitely didn't expect that two thirds of all projects would contain at least one publicly known vulnerability.
1 - 20 of 21 Next ›
Showing 20 items per page