Skip to content

Curly Braces

Golden nuggets where no entry is longer than my expected attention span

  • Articles
  • Contact Me!
  • Policy
  • Internal

Category: Ruby

Massuploading pictures using ActiveStorage

Posted on December 1, 2020 by Peter Andersson

ActiveStorage is a gem, I really think so. Before AS, whenevener I needed to attach a “blob” (image or other document) to a model it […]

Continue reading »
0
Development, HTML and CSS, Ruby, Ruby on Rails

Writing a websocket server using Ruby

Posted on November 27, 2019 by Peter Andersson

I just found this amazing article about the finer details of Websockets, and how to implement a WS server using Ruby. I just had to […]

Continue reading »
0
Development, Network, Ruby

Rubys magic language

Posted on September 30, 2019 by Peter Andersson

This is a piece of code I keep to remind me of the magic in Ruby. class Main # you can dynamically define methods with […]

Continue reading »
0
Development, Ruby, Ruby on Rails

Creating your own tag helper in Rails

Posted on March 29, 2019 by Peter Andersson

Lets say you get sick and tired of writing this in your views: <div class=”field”> <%=form.label :location %> <%=form.text_field :location %> </div> and instead you […]

Continue reading »
0
Development, Ruby, Ruby on Rails

Array is an instance of class Class

Posted on September 3, 2018 by Peter Andersson

If the title to this post seems impossible to understand, please read this conversation between Gavin Sinclair and Martin de Mello. Something that was really […]

Continue reading »
0
Development, Ruby, Ruby on Rails

Från bloggen

AI Ajax Apache bash Development Docker Git Google Gradle Heroku HTML and CSS Imaging IOS Java Javascript Linux Math MIcroservices Microsoft MySQL Network Node OSX Palmemordet Patterns Photo PHP Python Raspberry Pi React Ruby Ruby on Rails Samba Spring Boot Tankar Thoughts Trading Uncategorized Video Visual Studio Code Vue Web Wordpress XCode
July 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Mar    

Articles

Favourite Links

  • A Rock Solid Rails 5 API App with a React Frontend
  • Rails 5.1's form_with tag
  • Complex Rails forms
  • Rails is scalable

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Powered by WordPress and Momentous.