Masthash

#rubyonrails

Ervan L.
1 day ago

I'm starting to like ruby-grape/grape gem ! I'm still not sure about the whole DSL, but params type validations is a real thing.

I just added a custom type that asserts format of an parameter being sometimes an integer, other times something like "100.00"; and Grape makes it easy, clean and efficient !

I'll dig into this 👀

#ruby #rubyonrails #grape #api #dsl

Ashwin Nanjappa 👨‍💻
2 days ago

@adarsh Asking for a spouse who works with #ruby / #RubyOnRails : is there a similar Ruby Ladies or such bot/initiative? ☺️

Ervan L.
2 days ago

Do you have some kind of "strategy" to quickly adopt rubocop on a legacy project with ~7k warnings when dry-running ?

I'd like to just run the autocorrect but that would mess with all the opened PRs and work in progress.

I generated the rubocop_todo.yml but I don't really know how to tackle it progressively.

Any tips / return of experience ?

#rubocop #ruby #rubyonrails #legacy

Ervan L.
2 days ago

Friendly reminder that ActiveRecord::Collection.count *always* hits the database whereas .size caches the result

#performance #ruby #rubyonrails

Pascal Laliberté
2 days ago

Do I know any #Rails shops using dbt-core for data engineering?

#ruby #rubyonrails #dataengineering #dbt

Ervan L.
3 days ago

If you happen to work with the gem `data_migrate`, are you aware of this issue that causes systematic migration error when your data migration as the same name as your schema migration ?

https://github.com/ilyakatz/data-migrate/issues/114

We're adding a custom cop into rubocop to detect it before the merge, this is definitely something the gem should warn about !

#ruby #rubyonrails #gem

Ervan L.
3 days ago

So, do you _actually_ know the difference between `ActiveRecord::Base.transaction` and `Model.transaction` ?

Answer: It only differs if your base class and your model have different connections/databases:

> Though the transaction class method is called on some Active Record class, the objects within the transaction block need not all be instances of that class. This is because transactions are per-database connection, not per-model.

TIL !

#ruby #rails #rubyonrails #code

Ian Bradbury
5 days ago

An interesting article about the UK Gov web site(s) completing some upgrades.

I love the UK Gov site(s). Clear, consistent, easy to navigate and always zippy, and, Rails. They’re a real beacon of great design.

https://techmonitor.ai/government-computing/gds-upgrades-gov-uks-software-infrastructure-containers-meet-digital-demand

#RubyOnRails

Leigh Dodds
1 week ago

I'm looking for a developer to join my team at Energy Sparks.

A great opportunity to work for a charity delivering real impact for schools, enabling them to reduce their energy bills and educate children about climate change.

Looking for someone UK based, but the role is fully remote. We're a small, friendly team working flexible hours.

Details:

https://energysparks.uk/jobs/1/inline

Drop me a message, if you'd like an informal chat

#energysparks #energydata #rubyonrails #ruby #jobs

alexanderadam
1 week ago

A whole #EuRuKo train exclusively conference attendees. That's #RubyOnRails indeed. 😄

A train timetable with an entry for "EuRuKo Party Train"
gabriele renzi
1 week ago

I'm not 100% sure, but I think now that Instacart IPOed we can add another $10B company to the lineup of companies started with #RubyOnRails

Jason Garber
1 week ago

Using counter caches in #RubyOnRails to trigger a parent model’s #ActiveRecord callbacks for fun and profit!

Unpopular opinion: #RubyOnRails already has service objects baked in. They’re called jobs.

masukomi
2 weeks ago

I've pushed a new version of the mongodb_meilisearch gem (v1.1.0)

- now specifies default sortable attributes
- now allows you to customize sortable attributes
- previously you had to do that directly via the index object
- corrects bug where setting filterable attributes was always asynchronous
- now it does what you specify

https://github.com/masukomi/mongodb_meilisearch

#MongoDB #MeiliSearch #Ruby #RubyOnRails

Kevin Williams
2 weeks ago

Shipped a few more iterative changes to @kartedrop last night (https://kartedrop.com).

Halloween postcards sprinkle Halloween emojis when viewed, Winter postcards sprinkle snow flakes and everything gets a good o' confetti cannon.

Some small tweaks to the splash pages and overall better meta tag handling.

Edging ever closer to launching our premium (paid) version and commercial product.

#BuildingInPublic #BuildInPublic #SaaS #RubyonRails #Rails

masukomi
3 weeks ago

If anyone's curious if it's worth the $$ to run your #RubyOnRails tests on a #GitHub "large runner". I spent today testing ours. Here's the results. the censored columns are just our individual groups of single-threaded tests. The names don't really matter.

My takeaway is that it's probably not worth the extra money (or maybe the 4 core is) and we'll get a far better result from breaking our tests down into smaller groups and parallelizing them within each run.

a screenshot of a spreadsheet table with graphs  it shows an improvement of roughly 3 minutes per test when going from the default runners to the 4 core, but very little change after that.
Adam Fortuna
3 weeks ago

Had a moment yesterday building Hardcover locally where I my hard drive ran out of space.

Turns out copying a 50gb Ruby on Rails development log into multiple containers eats up a lot of space real fast. 😅

Does anyone have a strategy for how they handle logging within Docker containers to bypass this?

#docker #RubyOnRails

Camilo
3 weeks ago

✅💎 StandardRb 1.31.1 is out! No major changes but you get all the bugfixes in Rubocop!

https://rubygems.org/gems/standard/versions/1.31.1

#ruby #RubyOnRails #programming

Camilo
3 weeks ago

🚂 :ruby: Standard-Rails, the gem that standardizes rubocop-rails, it updated to version 0.2.0!

https://rubygems.org/gems/standard-rails

Not many changes, mostly just bugfixes, but if you're on Ruby 2.6 that was deprecated by rubocop rails, so watch out!

Also, remember, this standard plugin isn't a default in standard, and needs to be included in your Gemfile and standard config to be used 😃

#ruby #RubyOnRails #programming

Ain Tohvri
3 weeks ago

Anyone using Pagy instead of Kaminari? https://github.com/ddnexus/pagy #Ruby #RubyOnRails #OpenSource

HJVT
3 weeks ago

#rubyonrails #jobs
Is there a way out of Ruby?
I started my career doing Rails, and I want out, would really appreciate hearing success stories about transitioning to less duck-typed pastures.

Jason Garber
3 weeks ago

#RubyOnRails folks: hit me with your hot takes on `schema.rb` vs. `structure.sql` for an app with a PostgreSQL database.

Jason Garber
3 weeks ago

#RubyOnRails folks: hit me with your hot takes on how to manage/archive/delete your app’s “old” migrations.

Opsitive
4 weeks ago

In her article "You Don’t Need a Mentor: Embracing the Power of Community", Bekah advocates for community mentorship over personal mentorship. And she has a lot of great arguments. Read it here: https://dev.to/opensauced/you-dont-need-a-mentor-embracing-the-power-of-community-1g3k

I'd say "¿Porque no los dos?" -- At Opsitive, you can join a friendly DevOps community with competent people who are happy to help, _and_ get 1:1 mentorship that gets you to your goals quickly.

#Linux #SystemAdministration #SysAdmin #Ruby #RubyOnRails #Mentorship

Kevin Williams
1 month ago

Just shipped V2 of last week's little coding project https://scrubr.app

Tldr: webscraping and parsing tool written in #RubyOnRails to make websites more friendly to the eyes and screen readers.

V2 changes below:

#BuildInPublic #BuildingInPublic #rails #Webscraper

GunChleoc
1 month ago

I am looking for an IDE for Ruby to run on Debian-based Linux. Anything that I have found so far is either discontinued or proprietary. What are yous using?

BTW emacs of vim is not what I am looking for, I have Geany. The problem is that having to navigate the code base with grep is kinda slow & painful.

Boosts welcome

#ruby #rails #rubyOnRails #MastoDev

StanleyAM
1 month ago

New to development?

Want to know how developers memorize all those commands?

They don't

You'll naturally remember the things you use the most

You will always look things up

You will always be learning

Embrace it and keep going

Follow for more
#opensource #code #programming #Ruby #rubyonrails

RubyConf
1 month ago

The 2nd #RubyConf2023 Keynote is confirmed! SARON YITBAREK (@saronyitbarek), developer, speaker, podcaster, entrepreneur, and founder of @CodeNewbies! Don't miss this chance to see Saron at RubyConf! | http://www.rubyconf.org

#tech #developers #rubyonrails #ruby

wook :fedora:
1 month ago

Any #RubyOnRails folks out there? Looking for a rails 6/7 gem that can autocomplete/lookup while typing on very long ‘form.collection_select‘ box. ie: choosing a supervisor for an employee record. ‘chosen-rails‘ seems like the leading option, but chosen itself is deprecated and the gem didn’t do anything for me after install.

Ain Tohvri
1 month ago

#RubyOnRails 6.1.7.6 got released last week patching file permission issues of the last patch. Upgrade! https://rubyonrails.org/2023/8/22/Rails-Versions-7-0-7-2-6-1-7-6-have-been-released #Security #Ruby #WebDev

masukomi
1 month ago

ok. i give up. is there _any_ good way to use Ractors in #RubyonRails controller actions?

It feels like if i want any hope of making this work i'll need to do some ridiculous hoop jumping to isolate everything. like even this gave me an error about
RuntimeError: defined with an un-shareable Proc in a different Ractor

Ractor.new(params[:id]) do | repo_id |
Repository.find(repo_id)
end.take

Am i missing something obvious?
Is there a "you just do X" than would solve my woes?"
#Ruby

Kevin Williams
1 month ago

Finished a 4-hour coding project this morning - Scrubr. (https://scrubr.app).

Feed it a URL and get a de-crap-ified version of the page. No scripts, no images and styles/classes are replaced with some minimal, eye-friendly CSS.

Thinking through improvements - error handling isn't robust, light/dark is currently determined by your browser default (not toggleable) and I want to implement page saving.

Looking for feedback if you have any.

#RubyonRails #BuildInPublic #BuildingInPublic

StanleyAM
1 month ago

Learn AI quickly with FastBook

This is the first time I have learned anything about training AI.

I was able to train AI to sort photos of animals found in the woods near my house in lesson 1 of https://course.fast.ai/

The course is free, easy to follow, and gets you training your own AI in the first lesson. By lesson 2 you will be able to publish your own AI powered application.

Follow for more
#opensource #code #programming #Ruby #rubyonrails #AI #programming

Ruby Central
1 month ago

Helsinki Ruby (@helsinkiruby) offered our community a discount to the upcoming A Human-Centered Software Developers' Conference (Oct 13). Use promo code RUBYCENTRAL10 to secure your discuont! | https://ti.to/helsinki-ruby/oh/discount/RUBYCENTRAL10

#rubyfriends #rubydev #developers #discount #ruby #rubyconf #rubyonrails

Toby
1 month ago

Any #RubyOnRails folk know any decent open source Rails projects that use Active Storage?

Want to see how other folk deal with it... not being amazing 🙃

Test Double
1 month ago

It might feel easy to ignore that deprecation warning … but you really shouldn’t! Ali Ibrahim shares how you can make those warnings work for you.
https://link.testdouble.com/dont-ignore-rails-deprecations
#Ruby #Rails #RubyonRails #RailsUpgrades

How GitHub Builds GitHub with GitHub https://youtu.be/PMSoHPuD8G8 via @YouTube

#Ruby #Rails #RubyOnRails

RubyConf
1 month ago

Early bird pricing ends in 6 days; prices will go up! Secure your ticket and start planning your trip to San Diego! | http://www.rubyconf.org

#rubyconf2023 #rubydevelopers #rubyfriends #ruby #rubyonrails #rails

RubyConf
1 month ago

Guess whats going to set #RubyConf2023 apart from the previous years? We've got an entire DAY lined up for workshops, community driven projects, & collaboration with Ruby organizations and members! 🚀🔥 Don't be left out! | www.rubyconf.org

#rubyonrails #rubyconf #tech

takeonrules
1 month ago

Questions about idiomatic code lead to thinking about how I might use that idiom
for navigation; which meant “Time to hack on Emacs” and write up some functions for
navigation.

https://takeonrules.com/2023/08/15/emacs-functions-to-navigate-ruby-files-by-method-comments/

#ruby #rubyOnRails #emacs #programming

Collin Donnell
2 months ago

Just posting again that I am still available for #freelance or full time employment. I’ve been doing #iOS development for 15 years, including at #Apple and am comfortable working on a team or doing entire apps.

I also know #RubyOnRails and have gotten quite good at it, which means I can work on backend and mobile together or separately if that’s what you need.

To be honest, I’m a real get. Someone should hire me.

#getfedihired

adarsh 🚲
2 months ago

Less than 50 of these early bird tickets left.

If you’re thinking of coming, save a few hundred bucks by getting your ticket this week.

#RubyConf2023 #RubyConf #RubyFriends #TechConference #Ruby #rubydevelopers #rubylang #rubyist #RubyOnRails

https://ruby.social/@rubyconf/110888336237231725

takeonrules
2 months ago

A walk through how to get the `super` of a Ruby method’s `super`; or "grand" `super`. And more importantly how to skipping calling super and call the grand `super` by using `Method#super_method`.

https://takeonrules.com/2023/08/12/skipping-your-parent-to-go-to-your-grandparent-leveraging-rubys-super-method-method/

#ruby #programming #rails #rubyOnRails

(Ruby) Senior Software Engineer

Remote - PJ
Competitive pay, equity and benefits. The base salary for this role is $100,000 - $240,000/year

490,592.40 R$ - 1,177,421.76 R$/ano
40.8k R$ - 98.1k R$ mensais
https://www.linkedin.com/jobs/view/3668028215

#Ruby #Rails #RubyOnRails #React #ReactJS

masukomi
2 months ago

Reminder for the folks out there that use #MongoDB and #RubyonRails

I've released a gem that makes it really easy to integrate #Meilisearch into your app.

https://github.com/masukomi/mongodb_meilisearch

RubyConf
2 months ago

The 1st #RubyConf2023 Keynote is confirmed! SHARON STEED, international keynote speaker, author, and founder of the empathy consultancy, Communilogue, will join us in San Diego. Don't miss this chance! | http://www.rubyconf.org

#tech #developers #rubyonrails #ruby

Andrew Atkinson
2 months ago

I'll be presenting virtually tomorrow for the SF Bay Area PostgreSQL User Group (SFPUG). Please RSVP if you're interested and I hope to see you there! #postgresql #postgres #rubyonrails #partitioning

https://www.meetup.com/postgresql-1/events/295042365/

Toby
2 months ago

People who know Rails better than me, why does this catch all not work for `OPTIONS /` or `POST /`, when it does work for `OPTIONS /blah` or `POST /lol`

```
match '*url' => 'errors#not_found', via: :all
```

Slightly more info here (and if you happened to upvote it, well, that would be swell!)

https://stackoverflow.com/questions/76850372/how-to-fix-rails-no-route-matches-post-or-option-for-the-root-url

#RubyOnRails

Jens Kutílek
2 months ago

I just released my Sudo coding font in version 0.70, with lots of progress on Greek and Cyrillic:
https://github.com/jenskutilek/sudo-font/releases/tag/v0.70
Also includes the proportional Sudo UI family as a variable font for the first time; and lots more box drawing characters, and the full DIN 91379 character set.
I’m using Sudo as my standard font in #VSCode for #Python, #RubyOnRails, basically for everything ;)
#Fonts #CodingFonts #FreeFont #OpenFontLicense

Jason Garber
2 months ago

Remote debugging using the #Ruby debug gem, #RubyOnRails, and #Docker is a recipe for pain, isn’t it…?

Ain Tohvri
2 months ago

Any #RubyOnRails guys willing to join a team for some memory-bound work for a few sprints? Ping me! #Job #Freelance #Ruby #Programming

Toby
2 months ago

It is cool that RubyOnRails.org uses @plausible for analytics and they've made it public.

https://plausible.io/rubyonrails.org?period=30d

I learned this whilst snopping through the website's source code, it is a nice example of a Jekyll website!

#RubyOnRails #Ruby

The cat's out of the bag: AppSignal will be the main sponsor for the #RailsWorld conference in Amsterdam (Oct 5 & 6)!

Let me know if you're attending because I'd love to meet as many #RubyOnRails developers as possible (I'll bring #stroopwafels) :)

https://rubyonrails.org/2023/7/25/appsignal-platinum-sponsor-at-rails-world

Thomas Cannon
2 months ago

A new version of warden-webauthn is out (the foundation for devise-passkeys)

This one ensures that the underlying credentials must be discoverable by default; but provides hooks to override in edge cases where you need to allow non-discoverable credentials. Check out the Github issue for more info!

Check it out! And, as always, we need maintainers!

https://github.com/ruby-passkeys/warden-webauthn/releases/tag/v0.3.0

https://github.com/ruby-passkeys/.github/issues/1

#Ruby #passkeys #passwordless #InfoSec #RubyOnRails #devise