Ruby

  • Most Topular Stories

  • Permittribute

    RubyFlow
    2 Aug 2015 | 2:34 pm
    We sometimes face scenarios where we need same permitted attributes for a model in different controllers and end up re-writing all attributes again (violating DRY). Permittribute is meant to: - reuse same permitted attributes at different locations/controllers. - scope permitted attributes base on roles like admin, api etc. - group permitted attributes at a single reference point in their respective scopes. Read more…
  • Writing a Simple Recursive Descent Parser

    The Buckblog
    Jamis
    29 Jul 2015 | 11:00 pm
    A simple implementation of a field-based query string, with binary operations, using a recursive descent parser — 6-minute read
  • The Ship by September Challenge

    slash7 with Amy Hoy
    Amy Hoy
    15 Jul 2015 | 10:23 am
    Let’s talk about That Thing. You know, That Thing you want to work on. That Thing you dream of finishing. That Thing that’s sitting, unfinished (or unstarted) on your desk or your hard drive. Or, uh, a vague dream only in your head. You keep saying you “need to find the time” to work on That Thing. Well, actually, you know you need to make the time, cuz “finding” is too passive, but… You haven’t yet. You haven’t made the time. Or That Thing. Welllll. Are you ready for a little bit of tough love? Cuz I’ve got a pair of facts for you:…
  • minitest-focus version 1.1.2 has been released!

    Polishing Ruby + Software Releases - zenspider.com
    ryan davis
    25 Jul 2015 | 1:50 pm
    Allows you to focus on a few tests with ease without having to use command-line arguments. Good for tools like guard that don’t have enough brains to understand test output. Cf. ZenTest’s autotest (an example of a test runner with strong testing logic). Inspired by https://github.com/seattlerb/minitest/issues/213 Changes: 1.1.2 / 2015-07-25 1 bug fix: Fixed focus handling when run under Rake’s rake_test_loader.rb. home: https://github.com/seattlerb/minitest-focus rdoc: http://docs.seattlerb.org/minitest-focus
  • 9 Motivi per Usare un Programma Gestionale Online

    DevInterface Blog
    Marco Urban
    27 Jul 2015 | 4:07 am
    In questo articolo esamineremo perché vale la pena che startup e piccole e medie Imprese investano in software gestionali per organizzare i processi interni. Chi usa ancora Excel? Un po’ tutti credo, perché è un software utilissimo e potente. Qual’è il problema? Che spesso viene adoperato per sostituire un programma gestionale da molte PMI. Mi spiego meglio: se devi lavorare velocemente con pochi dati, un modello Excel può andare; quando, invece, devi immagazzinare tutte le informazioni relative ai processi aziendali o devi creare preventivi e fatture, avere un software…
  • add this feed to my.Alltop

    RubyFlow

  • Permittribute

    2 Aug 2015 | 2:34 pm
    We sometimes face scenarios where we need same permitted attributes for a model in different controllers and end up re-writing all attributes again (violating DRY). Permittribute is meant to: - reuse same permitted attributes at different locations/controllers. - scope permitted attributes base on roles like admin, api etc. - group permitted attributes at a single reference point in their respective scopes. Read more…
  • Seeding a database using the Rails command line

    2 Aug 2015 | 1:36 pm
    When developing a Rails application, it’s important to seed the database with either manual or random data so the application looks realistic. There are some basic techniques to seed the database worth knowing that will save us time. http://davidmles.com/blog/seeding-database-rails/
  • Tackling God Objects in Ruby

    2 Aug 2015 | 1:29 pm
    Latest post in my series on Domain Driven Design. This is how I break down the model layer using Entity and Record Objects
  • Issue #2 of RubyIssue(s)

    2 Aug 2015 | 11:58 am
    A curated list of ruby related issues collected from GitHub. Bi-monthly email delivery. This second issue points to issues from spreecommerce, compass, rspec, lotusrb, capistrano and bundler. It also honors people fixing issues mentioned in the last issue.
  • Audio Extension For Simple Captcha

    2 Aug 2015 | 11:20 am
    Simple Audio Extension for Simple Captcha.. https://github.com/aditya-kapoor/simple-captcha-audio
 
  • add this feed to my.Alltop

    The Buckblog

  • Writing a Simple Recursive Descent Parser

    Jamis
    29 Jul 2015 | 11:00 pm
    A simple implementation of a field-based query string, with binary operations, using a recursive descent parser — 6-minute read
  • tar.gz in Ruby

    Jamis
    22 Jul 2015 | 11:00 pm
    A method is described for reading and writing tar and gzip files, using only the Ruby standard library — 5-minute read
  • Mazes for Programmers

    Jamis
    7 Jul 2015 | 11:00 pm
    The announcement of a completed project with expressions of relief and disbelief, and a brief animation to celebrate the occassion. The author looks forward to other projects to come. — 1-minute read
  • Experimenting with L-Systems

    Jamis
    6 May 2015 | 11:00 pm
    An overview of L-system fractals, with a simple implementation in Ruby. An argument is given in favor of exploration, experimentation, and play. — 6-minute read
  • Playing with Constants, Methods, and Superclasses

    Jamis
    23 Mar 2015 | 11:00 pm
    A few curious Rubyisms of dubious use, which may yet be worth knowing about — 3-minute read
  • add this feed to my.Alltop

    slash7 with Amy Hoy

  • The Ship by September Challenge

    Amy Hoy
    15 Jul 2015 | 10:23 am
    Let’s talk about That Thing. You know, That Thing you want to work on. That Thing you dream of finishing. That Thing that’s sitting, unfinished (or unstarted) on your desk or your hard drive. Or, uh, a vague dream only in your head. You keep saying you “need to find the time” to work on That Thing. Well, actually, you know you need to make the time, cuz “finding” is too passive, but… You haven’t yet. You haven’t made the time. Or That Thing. Welllll. Are you ready for a little bit of tough love? Cuz I’ve got a pair of facts for you:…
  • The sounds of self-sabotage

    Amy Hoy
    17 Jun 2015 | 12:09 pm
    I skipped the steps and it didn’t work! It will never work! It’s a lie! I’m a failure! I suck! This sucks! Screw everything! I can’t set a price on my book… I’ll make my potential customers do it! I’ll set up Pay What You Want! I’m gonna re-start my newsletter! There will be so much great content! But I can’t just send them something awesome and useful. That’s too scary. What if they reject it? I better send a limp-wristed announcement first, with an entire unsubscribe paragraph. That way if they reject me, it’s because I basically…
  • The 24-Hour Book Challenge — A Six Month Update

    Amy Hoy
    6 Jun 2015 | 11:49 am
    On December 2nd, I sat down and started writing. 24 hours later, I launched the first (beta) version of my first biz book, Just Fucking Ship. After a couple more weeks of work, I shipped the final(ish) version. Then I put JFS on a shelf for a while in favor of more urgent/demanding things. Now, 6 months later, I’m able to breathe again. And I’m soooooo ready for us to give JFS the love & upgrades it deserves! Things like: A new landing page a real sales funnel big fat CTAs on this very site (yay!) a hand-tuned page layout an epub and mobi version, a place in the Kindle Store…
  • Lying in business

    Amy Hoy
    26 May 2015 | 11:15 am
    Sex, money, health — those are the three skeeviest industries in the world. I operate in one of them. Our class 30×500 is, broadly speaking, a Make Money Online product. Our business “neighbors” fascinate me. Last week, I spent several hours devouring a 40-page forum thread about one of our (putative) competitors. Every single person, bar one, had a horror story. Some were customers, others were people who were friends of customers, and some were simply critical observers. The word was: Buyers did not get what they were promised. Nothing like it. It wasn’t that there…
  • Burnout.

    Amy Hoy
    22 May 2015 | 11:25 am
    I spent my birthday crying. I woke up, with my husband whom I love, in a beautiful hotel room, in the spectacularly lovely Colonial Williamsburg. But I couldn’t summon up the energy to enjoy it, and that was the last straw. Probably half of my misery could be chalked up to the hotel bed — I hurt and I was so, so tired. For my broken body, a hard bed is the physical and emotional equivalent of a beating. It defies logic, but it’s true. But the other half? A dam break. Because I needed a damn break. I was so upset because I was on a vacation I needed so badly. I stopped doing (or…
 
  • add this feed to my.Alltop

    Polishing Ruby + Software Releases - zenspider.com

  • minitest-focus version 1.1.2 has been released!

    ryan davis
    25 Jul 2015 | 1:50 pm
    Allows you to focus on a few tests with ease without having to use command-line arguments. Good for tools like guard that don’t have enough brains to understand test output. Cf. ZenTest’s autotest (an example of a test runner with strong testing logic). Inspired by https://github.com/seattlerb/minitest/issues/213 Changes: 1.1.2 / 2015-07-25 1 bug fix: Fixed focus handling when run under Rake’s rake_test_loader.rb. home: https://github.com/seattlerb/minitest-focus rdoc: http://docs.seattlerb.org/minitest-focus
  • minitest-server version 1.0.3 has been released!

    ryan davis
    25 Jul 2015 | 1:47 pm
    minitest-server provides a client/server setup with your minitest process, allowing your test run to send its results directly to a handler. Changes: 1.0.3 / 2015-07-25 1 bug fix: Minor tweak to get valid parse on 1.8. home: https://github.com/seattlerb/minitest-server rdoc: http://docs.seattlerb.org/minitest-server
  • vlad version 2.6.5 has been released!

    ryan davis
    25 Jun 2015 | 6:10 pm
    Vlad the Deployer is pragmatic application deployment automation, without mercy. Much like Capistrano, but with 1/10th the complexity. Vlad integrates seamlessly with Rake, and uses familiar and standard tools like ssh and rsync. Impale your application on the heartless spike of the Deployer. Changes: 2.6.5 / 2015-06-25 2 bug fixes: Updated dependency for rake-remote-task 2.3+. Use #send to access private set methods. (drbrain) home: http://rubyhitsquad.com/ code: https://github.com/seattlerb/vlad rdoc: http://docs.seattlerb.org/vlad
  • rake-remote_task version 2.3.0 has been released!

    ryan davis
    25 Jun 2015 | 6:04 pm
    Vlad the Deployer’s sexy brainchild is rake-remote_task, extending Rake with remote task goodness. Changes: 2.3.0 / 2015-06-25 1 minor enhancement: Create private methods from Rake::RemoteTask#set. (drbrain) home: https://github.com/seattlerb/rake-remote_task rdoc: http://docs.seattlerb.org/rake-remote_task
  • debride version 1.5.0 has been released!

    ryan davis
    14 Jun 2015 | 5:22 pm
    Analyze code for potentially uncalled / dead methods. Changes: 1.5.0 / 2015-06-14 6 minor enhancements: Added –focus to filter report on focused path. (phiggins) Added debride_rails_whitelist to help generate emperical whitelists from logs. Added validate to rails methods. (jeremyf) Extended debride to understand attr_* methods. (jeremyf) Extended debride_rails_whitelist to be able to scan compressed logs (gzip/bzip) Improved output of debride_rails_whitelist so you know what’s going on. (amerine) 3 bug fixes: Fixed handling of uncalled attr_* methods in reports. Fixed improper…
  • add this feed to my.Alltop

    DevInterface Blog

  • 9 Motivi per Usare un Programma Gestionale Online

    Marco Urban
    27 Jul 2015 | 4:07 am
    In questo articolo esamineremo perché vale la pena che startup e piccole e medie Imprese investano in software gestionali per organizzare i processi interni. Chi usa ancora Excel? Un po’ tutti credo, perché è un software utilissimo e potente. Qual’è il problema? Che spesso viene adoperato per sostituire un programma gestionale da molte PMI. Mi spiego meglio: se devi lavorare velocemente con pochi dati, un modello Excel può andare; quando, invece, devi immagazzinare tutte le informazioni relative ai processi aziendali o devi creare preventivi e fatture, avere un software…
  • E-commerce: Come Creare Valore Aggiunto Per I Vostri Clienti

    Guest
    16 Jul 2015 | 3:41 am
    Questo articolo è gentilmente offerto da Gloria di Stampaprint . Viviamo in un’era altamente digitale. Basta guardarci intorno per vedere persone che consultano il loro smartphone, manifesti e locandine con impresso il link di riferimento a ciò che si sta promuovendo oppure il simbolo di TripAdvisor sulle entrate di ristoranti e hotel (per fare solo alcuni esempi). Internet, infatti, riveste ormai un ruolo considerevole nella vita quotidiana di tutti noi, proprio perché è uno strumento estremamente utile se impiegato nel modo corretto. Grazie ad esso, possiamo metterci in contatto…
  • 5 semplici passi per rendere il tuo sito user-friendly

    Marco Urban
    14 Jul 2015 | 3:48 am
    Dopo il primo articolo introduttivo sul concetto di usability, oggi vediamo 5 modi per rendere il nostro sito user-friendly in modo semplice ed efficace. Nell’articolo di introduzione all’usabilità abbiamo visto quanto sia fondamentale rendere semplice e intuitiva la navigazione dei visitatori del nostro sito internet. Oggi ti daremo alcune dritte che potrai tenere presente nel design o nel rifacimento del tuo sito web.  Se fai un po’ di zapping tra i siti di aziende, siano esse piccole, medie e si, anche grandi multinazionali, puoi renderti conto a colpo d’occhio di…
  • Vuoi arrivare primo al GP di Google? Allora parti in quarta con la SEO!

    Marco Urban
    9 Jul 2015 | 3:13 am
    Un viaggio all’interno del grande mondo della Search Engine Optimization: scopriamo alcune dritte per capire come scegliere le keywords e dove posizionarle affinché Google veda quello che vogliamo mostrargli. Nell’ultimo articolo, abbiamo parlato dell’importanza dell’usabilità del sito web al fine di permettere agli utenti di capire immediatamente come muoversi al suo interno. Ok, questo è davvero importantissimo, e continueremo a parlarne anche nei prossimi post; ma forse ti sarai chiesto… “Se uno non ci arriva al mio sito web, a cosa mi serve renderlo…
  • EcoSost, startup rivoluzionaria del vivere sostenibile, sceglie DevInterface come partner tecnologico.

    Marco Urban
    7 Jul 2015 | 3:24 am
    Educare la collettività a vivere green, nel totale rispetto dell’ambiente: è ciò che, tramite l’utilizzo della tecnologia digitale, si propone EcoSost, startup che ha scelto DevInterface come partner per lo sviluppo delle sua piattaforma web. Attualmente è in corso un processo di cambiamento all’interno del mercato che, grazie ad un’accorta gestione delle risorse naturali e dei rifiuti, sta portando alla riduzione degli sprechi e al riciclo dei materiali da parte delle aziende produttrici di beni e servizi: ciò si traduce in grandi benefici in termini di costi sia…
 
  • add this feed to my.Alltop

    Ruby on Rails | Microservices | UI/UX | Android/iOS | Rants and everything else

  • Don’t use up your user’s device storage space

    Javal Nanda
    16 Jul 2015 | 3:40 am
    Hello, fellow developers!! This article is for iOS developers on how to give a better user experience and more control over the app to its users. These days, most API-driven applications do have some/large amounts of media content, whether it’s an image or a video. And to give the user a better experience of not downloading the content each time, we tend to cache the content with the most images by using various Image Caching libs available. Now, it often happens that most of the content being cached becomes outdated due to various reasons like image is updated for the same content or the…
  • Why should businesses care about microservices?

    Surekha James
    13 Jul 2015 | 1:24 am
    You have an awesome software team. They are following agile practices so that you can adopt change. But how many times was your development team able to make the change you asked for in the same hour or even on the same day? The most common answers you would get are: we could get it done by next week as we are in the middle of a sprint or the change you are asking for would require a lot of rework and testing. All in all, you never get the job done the same night. If you do push them hard, a chaotic release is made leaving everyone frustrated and scared. You end up with this fear that…
  • Microservices at Idyllic

    Surekha James
    5 Jul 2015 | 11:24 pm
    Over the last one and a half years we’ve been constantly working towards finding newer ways to build more resilient software, faster. And, we’ve found that the lines between enterprise software development and building for startups has significantly blurred. The value of iterating and releasing software quickly has been universally acknowledged and our traditional methodologies for building applications fall short in more than a few areas. At Idyllic, our experiments with Burst Mode Development (TM) brought us to Microservices and we haven’t looked back since. Rarely has there been…
  • Technology Heterogeneity and Microservices

    Jinesh Parekh
    16 Jun 2015 | 6:56 am
    Developers are always akin to learning new technologies and are on a lookout to employ cutting edge technologies on projects that they are working on. The chief technologist would often guard against this to ensure that abrupt technology choices are not made merely to satiate the developer’s geeky hunger. In the monolith world, the job of guarding is easier because the technology stack itself will throw in limitations and make it hard for the developers to plug in other languages. Microservices makes it very easy for developers to use different technologies for various services they are…
  • Modularize your JavaScript with Browserify

    Vinod Sobale
    22 Apr 2015 | 12:32 am
    What is browserify? If you have ever written any custom Node.js modules, getting started with Browserify will be a walk in the park. Browserify enables us to write Node.js style modular code and declaring dependencies is even simpler than you think, if you have used require.js in the past. Configuring require.js is a world of hell and their documentation doesn’t help in any way. This is when browserify turns out to be such a relief. Take a look at the following code. module-alerter.js: module.exports = function alerter(message) { window.message(message); } Now, if we were to import this in…
Log in