♊️ GemiNews 🗞️ (dev)

Demo 1: Embeddings + Recommendation Demo 2: Bella RAGa Demo 3: NewRetriever Demo 4: Assistant function calling

🗞️Added fixture method and bugfixes

🗿Semantically Similar Articles (by :title_embedding)

Added fixture method and bugfixes

2024-03-01 - Wojtek (from Ruby on Rails)

Hi, Wojtek from this side. Let’s explore this week’s few changes in the Rails codebase.

Hi, Wojtek from this side. Let’s explore this week’s few changes in the Rails codebase. Rails security update releases Rails Versions 6.1.7.7, 7.0.8.1, and 7.1.3.2 have been released last week which contain fixes for security issues. Expose a generic “fixture” method in tests To avoid conflicting methods, in example with Minitest, it is possible now to load fixtures like this: assert_equal "Ruby on Rails", web_sites(:rubyonrails).name assert_equal "Ruby on Rails", fixture(:web_sites, :rubyonrails).name Introduce assert_initializer Compliments the existing initializer generator action. Set default_url_options values in development/test environments Prior to this commit, new Rails applications would raise ActionView::Template::Error if a mailer included a url built with a *_path helper. Fix error message for not derived foreign key in Active Record Using query_constraints method with a single non-primary-key column used to raise as expected, but with an incorrect error message. This has been fixed to raise with a more appropriate error message. You can view the whole list of changes here. We had 13 contributors to the Rails codebase this past week! Until next time! Subscribe to get these updates mailed to you.

[Technology] 🌎 https://rubyonrails.org/2024/3/1/this-week-in-rails [🧠] [v2] article_embedding_description: {:llm_project_id=>"Unavailable", :llm_dimensions=>nil, :article_size=>2853, :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] [v1/3] title_embedding_description: {:ricc_notes=>"[embed-v3] Fixed on 9oct24. Only seems incompatible at first glance with embed v1.", :llm_project_id=>"unavailable possibly not using Vertex", :llm_dimensions=>nil, :article_size=>2853, :poly_field=>"title", :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] [v1/3] summary_embedding_description: {:ricc_notes=>"[embed-v3] Fixed on 9oct24. Only seems incompatible at first glance with embed v1.", :llm_project_id=>"unavailable possibly not using Vertex", :llm_dimensions=>nil, :article_size=>2853, :poly_field=>"summary", :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] As per bug https://github.com/palladius/gemini-news-crawler/issues/4 we can state this article belongs to titile/summary version: v3 (very few articles updated on 9oct24)

🗿article.to_s

------------------------------
Title: Added fixture method and bugfixes
Summary: Hi, Wojtek from this side. Let’s explore this week’s few changes in the Rails codebase.

[content]
Hi, Wojtek from this side. Let’s explore this week’s few changes in the Rails codebase.

Rails security update releases
Rails Versions 6.1.7.7, 7.0.8.1, and 7.1.3.2 have been released last week which contain fixes for security issues.

Expose a generic “fixture” method in tests
To avoid conflicting methods, in example with Minitest, it is possible now to load fixtures like this:

assert_equal "Ruby on Rails", web_sites(:rubyonrails).name
assert_equal "Ruby on Rails", fixture(:web_sites, :rubyonrails).name


Introduce assert_initializer
Compliments the existing initializer generator action.

Set default_url_options values in development/test environments
 Prior to this commit, new Rails applications would raise ActionView::Template::Error if a mailer included a url built with a *_path helper.

Fix error message for not derived foreign key in Active Record
Using query_constraints method with a single non-primary-key column used to raise as expected, but with an incorrect error message. This has been fixed to raise with a more appropriate error message.

You can view the whole list of changes here.
We had 13 contributors to the Rails codebase this past week!

Until next time!

Subscribe to get these updates mailed to you.
[/content]

Author: Wojtek
PublishedDate: 2024-03-01
Category: Technology
NewsPaper: Ruby on Rails
Tags: news
{"id"=>4266,
"title"=>"Added fixture method and bugfixes",
"summary"=>"Hi, Wojtek from this side. Let’s explore this week’s few changes in the Rails codebase.",
"content"=>"

Hi, Wojtek from this side. Let’s explore this week’s few changes in the Rails codebase.

\n\n

Rails security update releases
\nRails Versions 6.1.7.7, 7.0.8.1, and 7.1.3.2 have been released last week which contain fixes for security issues.

\n\n

Expose a generic “fixture” method in tests
\nTo avoid conflicting methods, in example with Minitest, it is possible now to load fixtures like this:

\n\n
assert_equal \"Ruby on Rails\", web_sites(:rubyonrails).name\nassert_equal \"Ruby on Rails\", fixture(:web_sites, :rubyonrails).name\n
\n\n

Introduce assert_initializer
\nCompliments the existing initializer generator action.

\n\n

Set default_url_options values in development/test environments
\n Prior to this commit, new Rails applications would raise ActionView::Template::Error if a mailer included a url built with a *_path helper.

\n\n

Fix error message for not derived foreign key in Active Record
\nUsing query_constraints method with a single non-primary-key column used to raise as expected, but with an incorrect error message. This has been fixed to raise with a more appropriate error message.

\n\n

You can view the whole list of changes here.\nWe had 13 contributors to the Rails codebase this past week!

\n\n

Until next time!

\n\n

Subscribe to get these updates mailed to you.

",
"author"=>"Wojtek",
"link"=>"https://rubyonrails.org/2024/3/1/this-week-in-rails",
"published_date"=>Fri, 01 Mar 2024 00:00:00.000000000 UTC +00:00,
"image_url"=>nil,
"feed_url"=>"https://rubyonrails.org/2024/3/1/this-week-in-rails",
"language"=>nil,
"active"=>true,
"ricc_source"=>"feedjira::v1",
"created_at"=>Mon, 01 Apr 2024 20:13:48.447120000 UTC +00:00,
"updated_at"=>Mon, 21 Oct 2024 18:04:00.633141000 UTC +00:00,
"newspaper"=>"Ruby on Rails",
"macro_region"=>"Technology"}
Edit this article
Back to articles