Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

I'm pretty inexperienced with both stackoverflow and Ruby. Please help me to help you to help me. I'm trying to implement ims-lti in an open source Rails application. When I run rails generate ims_lti:...
0 votes
1 answer
73 views

I have the below setup class BudgetLine < ApplicationRecord has_many :budget_line_items accepts_nested_attributes_for :budget_line_items end class BudgetLine::Accommodation < BudgetLine end ...
1 vote
1 answer
348 views

I'm developing a ruby on rails app. I've been using the i18n-tasks gem from the start. My "i18n-tasks add-missing" command has never caused any problems, I haven't used it for 2-3 weeks, ...
0 votes
2 answers
476 views

Rails provides a built-in pluralization method for String, e.g., "apple".pluralize returns "apples" and "apple".pluralize(1) does "apple" (see this question). ...
1 vote
1 answer
547 views

module ApplicationHelper def t(*a) translate(*a) end end Case 1 :- t('views.home.welcome_updated', default: 'Updated') => Getting Error: (wrong number of arguments (given 2, expected 1)) ...
0 votes
1 answer
447 views

I am using view component in rails project. I want use translation from my parent inside a child. For now, I have this: components └─ a ├─ component.rb ├─ component.html.erb ├─ component.yml ...
0 votes
1 answer
49 views

I've got this Mailer in my Rails 7 project: # app/mailers/quote_mailer.rb class QuoteMailer < ApplicationMailer def quote_mail(quote) @quote = quote @user = quote.user @client = ...
0 votes
2 answers
175 views

I have the following text in my en.yml update_message: "The user updated device's name to <b>%{name}</b>" and I have the following json object { "user": { "id&...
novac's user avatar
  • 166
0 votes
1 answer
30 views

Somehow, my abbreviated months are coming back blank. Failure: MessageDecoratorTest#test_it_will_show_date_without_year_if_it's_same_year [/opt/vanadium-web/test/decorators/message_decorator_test.rb:...
2 votes
1 answer
594 views

In Ruby on Rails the ordinalize method does not work in the :de locale. The error given is: > 1.ordinalize => "translation missing: de.number.nth.ordinalized" It is easy to reproduce ...
Mark's user avatar
  • 57
1 vote
1 answer
317 views

Here is my en.yml config (Rails 7) en: hello: "Hello world" activerecord: models: user: one: "User" other: "Users" attributes: ...
1 vote
1 answer
647 views

I am working on multiple projects, when I switch from one project to another, compile the assets using: ➜ rails assets:precompile Ruby: 2.7.5 Rails: 6.0 What I get is: /Users/luqman/.rvm/rubies/ruby-...
0 votes
1 answer
77 views

I started creating an app, and planned out my basic scaffolding. Let's say I created this resource: rails g scaffold CircusAnimal fieldOne:string fieldTwo:string I'm using Rails I18n to translate the ...
0 votes
0 answers
138 views

I have a two part question. I'm passing params to links in order to sort and filter in my Ruby on Rails app. Is this type of resulting url safe? /realestates?column=salesprice&direction=desc If ...
1 vote
0 answers
35 views

The index view pushed by the Scheduler::ProductionJobsController index method contains the following request to the translation method: <h2> <%= t('.View') %> </h2> The config\...

15 30 50 per page
1
2 3 4 5
...
53

AltStyle によって変換されたページ (->オリジナル) /