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 👀
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 ?
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 ?
We're adding a custom cop into rubocop to detect it before the merge, this is definitely something the gem should warn about !
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.
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.
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.
Drop me a message, if you'd like an informal chat
Promising changes coming in #Ruby 3.3! https://www.ruby-lang.org/en/news/2023/09/14/ruby-3-3-0-preview2-released/ #RubyOnRails
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
Unpopular opinion: #RubyOnRails already has service objects baked in. They’re called jobs.
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
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.
Wallarm is hiring Senior / Middle Ruby Developer
🔧 #ruby #c #golang #python #flask #react #rubyonrails #node #api #aws #docker #elasticsearch #gcp #kafka #kubernetes #nosql #postgresql #redis #awss3 #sql #terraform #seniorengineer
Wallarm is hiring Senior Python Developer
🔧 #python #c #cplusplus #golang #ruby #flask #react #rubyonrails #node #api #aws #docker #elasticsearch #gcp #kubernetes #postgresql #redis #awss3 #terraform #seniorengineer
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.
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?
✅💎 StandardRb 1.31.1 is out! No major changes but you get all the bugfixes in Rubocop!
🚂 :ruby: Standard-Rails, the gem that standardizes rubocop-rails, it updated to version 0.2.0!
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 😃
#RubyOnRails folks: hit me with your hot takes on `schema.rb` vs. `structure.sql` for an app with a PostgreSQL database.
#RubyOnRails folks: hit me with your hot takes on how to manage/archive/delete your app’s “old” migrations.
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.
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.
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.
#RubyOnRails 220.127.116.11 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
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 |
Am i missing something obvious?
Is there a "you just do X" than would solve my woes?"
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.
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.
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
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 🙃
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.
#Ruby #Rails #RubyonRails #RailsUpgrades
Ruby on Rails as a career choice in 2023
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
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.
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`.
How to Deploy a Ruby on Rails App to Digitalocean?
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!)
Why Ruby on Rails Needs Components
“Host your podcast at Rails World with Buzzsprout”
I just released my Sudo coding font in version 0.70, with lots of progress on Greek and Cyrillic:
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
The cat's out of the bag: AppSignal will be the main sponsor for the #RailsWorld conference in Amsterdam (Oct 5 & 6)!
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!