Skip to content

Commit 8823739

Browse files
committed
Fix chat UI generator for namespaced models.
Fixes crmne#425
1 parent 636ef94 commit 8823739

34 files changed

+1105
-837
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ end
139139
## Rails
140140

141141
```bash
142-
# Install database models
142+
# Install Rails Integration
143143
rails generate ruby_llm:install
144144

145-
# Add chat UI (optional)
145+
# Add Chat UI (optional)
146146
rails generate ruby_llm:chat_ui
147147
```
148148

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ end
200200
## Rails
201201

202202
```bash
203-
# Install database models
203+
# Install Rails Integration
204204
rails generate ruby_llm:install
205205

206-
# Add chat UI (optional)
206+
# Add Chat UI (optional)
207207
rails generate ruby_llm:chat_ui
208208
```
209209

gemfiles/rails_7.1.gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ GEM
158158
path_expander (~> 1.0)
159159
ruby_parser (~> 3.0)
160160
sexp_processor (~> 4.0)
161-
globalid (1.2.1)
161+
globalid (1.3.0)
162162
activesupport (>= 6.1)
163163
google-cloud-env (2.3.1)
164164
base64 (~> 0.2)
@@ -185,7 +185,7 @@ GEM
185185
pp (>= 0.6.0)
186186
rdoc (>= 4.0.0)
187187
reline (>= 0.4.2)
188-
json (2.14.1)
188+
json (2.15.0)
189189
json-schema (6.0.0)
190190
addressable (~> 2.8)
191191
bigdecimal (~> 3.1)
@@ -318,7 +318,7 @@ GEM
318318
rubocop-ast (>= 1.46.0, < 2.0)
319319
ruby-progressbar (~> 1.7)
320320
unicode-display_width (>= 2.4.0, < 4.0)
321-
rubocop-ast (1.47.0)
321+
rubocop-ast (1.47.1)
322322
parser (>= 3.3.7.2)
323323
prism (~> 1.4)
324324
rubocop-performance (1.26.0)

gemfiles/rails_7.2.gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ GEM
152152
path_expander (~> 1.0)
153153
ruby_parser (~> 3.0)
154154
sexp_processor (~> 4.0)
155-
globalid (1.2.1)
155+
globalid (1.3.0)
156156
activesupport (>= 6.1)
157157
google-cloud-env (2.3.1)
158158
base64 (~> 0.2)
@@ -179,7 +179,7 @@ GEM
179179
pp (>= 0.6.0)
180180
rdoc (>= 4.0.0)
181181
reline (>= 0.4.2)
182-
json (2.14.1)
182+
json (2.15.0)
183183
json-schema (6.0.0)
184184
addressable (~> 2.8)
185185
bigdecimal (~> 3.1)
@@ -311,7 +311,7 @@ GEM
311311
rubocop-ast (>= 1.46.0, < 2.0)
312312
ruby-progressbar (~> 1.7)
313313
unicode-display_width (>= 2.4.0, < 4.0)
314-
rubocop-ast (1.47.0)
314+
rubocop-ast (1.47.1)
315315
parser (>= 3.3.7.2)
316316
prism (~> 1.4)
317317
rubocop-performance (1.26.0)

gemfiles/rails_8.0.gemfile.lock

Lines changed: 58 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -14,65 +14,65 @@ PATH
1414
GEM
1515
remote: https://rubygems.org/
1616
specs:
17-
actioncable (8.0.2.1)
18-
actionpack (= 8.0.2.1)
19-
activesupport (= 8.0.2.1)
17+
actioncable (8.0.3)
18+
actionpack (= 8.0.3)
19+
activesupport (= 8.0.3)
2020
nio4r (~> 2.0)
2121
websocket-driver (>= 0.6.1)
2222
zeitwerk (~> 2.6)
23-
actionmailbox (8.0.2.1)
24-
actionpack (= 8.0.2.1)
25-
activejob (= 8.0.2.1)
26-
activerecord (= 8.0.2.1)
27-
activestorage (= 8.0.2.1)
28-
activesupport (= 8.0.2.1)
23+
actionmailbox (8.0.3)
24+
actionpack (= 8.0.3)
25+
activejob (= 8.0.3)
26+
activerecord (= 8.0.3)
27+
activestorage (= 8.0.3)
28+
activesupport (= 8.0.3)
2929
mail (>= 2.8.0)
30-
actionmailer (8.0.2.1)
31-
actionpack (= 8.0.2.1)
32-
actionview (= 8.0.2.1)
33-
activejob (= 8.0.2.1)
34-
activesupport (= 8.0.2.1)
30+
actionmailer (8.0.3)
31+
actionpack (= 8.0.3)
32+
actionview (= 8.0.3)
33+
activejob (= 8.0.3)
34+
activesupport (= 8.0.3)
3535
mail (>= 2.8.0)
3636
rails-dom-testing (~> 2.2)
37-
actionpack (8.0.2.1)
38-
actionview (= 8.0.2.1)
39-
activesupport (= 8.0.2.1)
37+
actionpack (8.0.3)
38+
actionview (= 8.0.3)
39+
activesupport (= 8.0.3)
4040
nokogiri (>= 1.8.5)
4141
rack (>= 2.2.4)
4242
rack-session (>= 1.0.1)
4343
rack-test (>= 0.6.3)
4444
rails-dom-testing (~> 2.2)
4545
rails-html-sanitizer (~> 1.6)
4646
useragent (~> 0.16)
47-
actiontext (8.0.2.1)
48-
actionpack (= 8.0.2.1)
49-
activerecord (= 8.0.2.1)
50-
activestorage (= 8.0.2.1)
51-
activesupport (= 8.0.2.1)
47+
actiontext (8.0.3)
48+
actionpack (= 8.0.3)
49+
activerecord (= 8.0.3)
50+
activestorage (= 8.0.3)
51+
activesupport (= 8.0.3)
5252
globalid (>= 0.6.0)
5353
nokogiri (>= 1.8.5)
54-
actionview (8.0.2.1)
55-
activesupport (= 8.0.2.1)
54+
actionview (8.0.3)
55+
activesupport (= 8.0.3)
5656
builder (~> 3.1)
5757
erubi (~> 1.11)
5858
rails-dom-testing (~> 2.2)
5959
rails-html-sanitizer (~> 1.6)
60-
activejob (8.0.2.1)
61-
activesupport (= 8.0.2.1)
60+
activejob (8.0.3)
61+
activesupport (= 8.0.3)
6262
globalid (>= 0.3.6)
63-
activemodel (8.0.2.1)
64-
activesupport (= 8.0.2.1)
65-
activerecord (8.0.2.1)
66-
activemodel (= 8.0.2.1)
67-
activesupport (= 8.0.2.1)
63+
activemodel (8.0.3)
64+
activesupport (= 8.0.3)
65+
activerecord (8.0.3)
66+
activemodel (= 8.0.3)
67+
activesupport (= 8.0.3)
6868
timeout (>= 0.4.0)
69-
activestorage (8.0.2.1)
70-
actionpack (= 8.0.2.1)
71-
activejob (= 8.0.2.1)
72-
activerecord (= 8.0.2.1)
73-
activesupport (= 8.0.2.1)
69+
activestorage (8.0.3)
70+
actionpack (= 8.0.3)
71+
activejob (= 8.0.3)
72+
activerecord (= 8.0.3)
73+
activesupport (= 8.0.3)
7474
marcel (~> 1.0)
75-
activesupport (8.0.2.1)
75+
activesupport (8.0.3)
7676
base64
7777
benchmark (>= 0.3)
7878
bigdecimal
@@ -152,7 +152,7 @@ GEM
152152
path_expander (~> 1.0)
153153
ruby_parser (~> 3.0)
154154
sexp_processor (~> 4.0)
155-
globalid (1.2.1)
155+
globalid (1.3.0)
156156
activesupport (>= 6.1)
157157
google-cloud-env (2.3.1)
158158
base64 (~> 0.2)
@@ -179,7 +179,7 @@ GEM
179179
pp (>= 0.6.0)
180180
rdoc (>= 4.0.0)
181181
reline (>= 0.4.2)
182-
json (2.14.1)
182+
json (2.15.0)
183183
json-schema (6.0.0)
184184
addressable (~> 2.8)
185185
bigdecimal (~> 3.1)
@@ -249,34 +249,35 @@ GEM
249249
rack (>= 1.3)
250250
rackup (2.2.1)
251251
rack (>= 3)
252-
rails (8.0.2.1)
253-
actioncable (= 8.0.2.1)
254-
actionmailbox (= 8.0.2.1)
255-
actionmailer (= 8.0.2.1)
256-
actionpack (= 8.0.2.1)
257-
actiontext (= 8.0.2.1)
258-
actionview (= 8.0.2.1)
259-
activejob (= 8.0.2.1)
260-
activemodel (= 8.0.2.1)
261-
activerecord (= 8.0.2.1)
262-
activestorage (= 8.0.2.1)
263-
activesupport (= 8.0.2.1)
252+
rails (8.0.3)
253+
actioncable (= 8.0.3)
254+
actionmailbox (= 8.0.3)
255+
actionmailer (= 8.0.3)
256+
actionpack (= 8.0.3)
257+
actiontext (= 8.0.3)
258+
actionview (= 8.0.3)
259+
activejob (= 8.0.3)
260+
activemodel (= 8.0.3)
261+
activerecord (= 8.0.3)
262+
activestorage (= 8.0.3)
263+
activesupport (= 8.0.3)
264264
bundler (>= 1.15.0)
265-
railties (= 8.0.2.1)
265+
railties (= 8.0.3)
266266
rails-dom-testing (2.3.0)
267267
activesupport (>= 5.0.0)
268268
minitest
269269
nokogiri (>= 1.6)
270270
rails-html-sanitizer (1.6.2)
271271
loofah (~> 2.21)
272272
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
273-
railties (8.0.2.1)
274-
actionpack (= 8.0.2.1)
275-
activesupport (= 8.0.2.1)
273+
railties (8.0.3)
274+
actionpack (= 8.0.3)
275+
activesupport (= 8.0.3)
276276
irb (~> 1.13)
277277
rackup (>= 1.0.0)
278278
rake (>= 12.2)
279279
thor (~> 1.0, >= 1.2.2)
280+
tsort (>= 0.2)
280281
zeitwerk (~> 2.6)
281282
rainbow (3.1.1)
282283
rake (13.3.0)
@@ -311,7 +312,7 @@ GEM
311312
rubocop-ast (>= 1.46.0, < 2.0)
312313
ruby-progressbar (~> 1.7)
313314
unicode-display_width (>= 2.4.0, < 4.0)
314-
rubocop-ast (1.47.0)
315+
rubocop-ast (1.47.1)
315316
parser (>= 3.3.7.2)
316317
prism (~> 1.4)
317318
rubocop-performance (1.26.0)
@@ -353,6 +354,7 @@ GEM
353354
thor (1.4.0)
354355
timeout (0.4.3)
355356
traces (0.18.2)
357+
tsort (0.2.0)
356358
tzinfo (2.0.6)
357359
concurrent-ruby (~> 1.0)
358360
unicode-display_width (3.2.0)

0 commit comments

Comments
 (0)