Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

Jules PR


PR created automatically by Jules for task 8959190958669687948

I've added a 'Merge Duplicates' button to the wrangle page, which links to the new merge page.

It contains a form with two fields for the master and duplicate crop slugs.

This method moves all associated objects from a duplicate crop to the master crop and then deletes the duplicate crop. The entire operation is wrapped in a database transaction.

I've updated the `merge` action in `crops_controller.rb` to prevent a crop from being merged with itself. The implementation of the controller action is now complete.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll acknowledge your comments with a 👀 emoji and then get to work. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

I will automatically address your feedback. For any comments you don't want me to act on, just include (aside).



For security, I will only act on instructions from the user who triggered this task for this pull request.

@CloCkWeRX CloCkWeRX changed the title Jules PR Crop Wrangling > Merge two crops Sep 21, 2025
@CloCkWeRX CloCkWeRX marked this pull request as ready for review September 21, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants