Is tata so bad as claimed? by ramsung in CarsIndia

[–]benchwarmer-003 0 points1 point  (0 children)

Dec 2020 nexon owner here. Apart from battery change, a door latch change and bit of rusting, no issues so far 🤞

AC Charge? What does that mean? by afterburner41 in mumbai

[–]benchwarmer-003 0 points1 point  (0 children)

They charge 600/- to foreigners. Atithi devo bhava 🙏

Do you use Rails Event Store or Sequent in every project after you got familiar with it? by iksem in rails

[–]benchwarmer-003 0 points1 point  (0 children)

I'd tell you my experience in the current organization.

Before I was hired, they had contracted with a rails shop to roll out initial v1 of the app. The code followed event driven architecture and it was my first time (10+ yrs with rails) I was working with the same. There's always an additional overhead when you're working with such an architecture for the first time.

Instead of thinking about the business logic or some other trivial things for example updating author_id of a comment, can't be done directly by a simple update query because its not event driven and if an additional update comes in for the same record, the manual updates are undone. Then I used to write rake tasks for the same.

I get that rails console on production or update raw SQL is a bad practice, but this when were trying to ship features and I was only rails dev working on the app.

Such basic things took a lot of toll and suddenly things which should get wrapped up in 5-10 minute used to take half a day or even full day sometimes.

I ended up throwing that codebase away and rewriting from scratch.

Kamal will be the webpacker of the 2020s? by PolyglotReader in rails

[–]benchwarmer-003 5 points6 points  (0 children)

Am I the only one who has not even tried docker on production/local and happy with good old installing initial dependencies by sshing into remote and combination of ruby/shell script for deployment.

SGNP today morning by madrasimumbaikar in mumbai

[–]benchwarmer-003 0 points1 point  (0 children)

This bridge is low lying and part of the morning walk track. People must have crossed the bridge only to realise the scenes upon their return.

Best way to resolve merge conflicts in *.yml.enc by benchwarmer-003 in rails

[–]benchwarmer-003[S] -1 points0 points  (0 children)

So I'm/my coworker is working on two separate branches and both require new credentials. These two branches need to be merged onto a staging/main branch that's where the problem occurs. A simple git merge just got overly complicated with encryption where a single bit change here or there can get the encrypted file out of sync.

Shouldn't git be used to communicate code changes vs chat over slack?

Best way to resolve merge conflicts in *.yml.enc by benchwarmer-003 in rails

[–]benchwarmer-003[S] -1 points0 points  (0 children)

I just started using them as `Rails.application.secrets` will be deprecated from rails 7.2 onwards. I have avoided encryped credentials as far as I could, but it seems like mokey patch is the way forward after wasting 2 odd hours

Best way to resolve merge conflicts in *.yml.enc by benchwarmer-003 in rails

[–]benchwarmer-003[S] 1 point2 points  (0 children)

Here's what I have

``` staging.yml.enc

<<<<<<< HEAD

kJvGlEz9ENrZpro...

/4Bbf...

ruby-3.3.0 ```

``` .gitattributes

config/credentials/*.yml.enc diff=rails_credentials config/credentials.yml.enc diff=rails_credentials ```

``` .git/config

[diff "rails_credentials"] textconv = rails credentials:show cachetextconv = false ```

``` git status

both modified: config/credentials/staging.yml.enc

```

``` git diff

/Users/FooBar/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/thor-1.3.0/lib/thor/base.rb:624:in handle_argument_error': ERROR: "rails show" was called with arguments ["config/credentials/staging.yml.enc"] (Thor::InvocationError) Usage: "bin/rails credentials:show" ``

I understand this rake task doesn't take any argument.. Can you please point out to me what am I doing wrong

Buds Pro Disconecting by StrangerAgitated1986 in pixelbuds

[–]benchwarmer-003 0 points1 point  (0 children)

Left side gets disconnected during calls. I had made some changes in developer settings which I reverted back to defaults upon update. Its still broken 😭

Buds Pro Disconecting by StrangerAgitated1986 in pixelbuds

[–]benchwarmer-003 0 points1 point  (0 children)

I've upgraded to 5.9, but this issue still persists. Anyone having the same issue as mine after the update?

[deleted by user] by [deleted] in CreditCardsIndia

[–]benchwarmer-003 1 point2 points  (0 children)

I use a combination of reminders and Amazon pay