I understand your complain, what I'm saying is that I have some rails 6
projects using form_for remote and form_with and I didn't have to bind to
the ajax events. rails-ujs and jquery_ujs both expect you to render a view
with .js format and both libraries executes your response's javascript.
Are
I don't think you can blame Rails 6 for that. It is a weird default, but it
is like that from the very beginning.
I never use the method, so, I guess, it can be considered as somewhat
obscure. It seems to appear in Rails version 5.1 and no change since.
Normally, I would use ActiveModel for a
Hi,
I am bit confused in rails delayed job
1) what is workers
2) what is process?
3) both workers and processes are same ???
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails
Hi,
I have around 25000, records and I want to save it into database using
rails delayed job.
but its taking around 45-50 min, can anyone suggest me how can I do it
faster.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To
https://github.com/zdennis/activerecord-import may be helpful to you,
Shubham.
On Tue, 18 Feb 2020 at 22:21, Shubham Thakur
wrote:
> Hi,
>
> I have around 25000, records and I want to save it into database using
> rails delayed job.
>
> but its taking around 45-50 min, can anyone suggest me how
Can you share some code to reproduce the problem? (a github repo with a
simple rais app would be greate)
El mar., 18 feb. 2020 a las 14:24, Ariel Juodziukynas ()
escribió:
> I have a few rails 6 projects and remote forms works out of the box with
> no event binding. Can you reproduce that
And also (sorry for the multiple responses), you are showing jquery code,
rails moved out of jquery a long time ago (I think docs are outdated
though), something might be wrong with your setup.
El mar., 18 feb. 2020 a las 14:25, Ariel Juodziukynas ()
escribió:
> Can you share some code to
Nicholas,
With all due respect, if you "wrote the docs on form_with," I would refer
you to my previous thread in which I am complaining about Turbolinks being
default (I think it shouldn't be).
You will also note that the only place local: true appears on the form_with
documentation is in a
Incorrect. You HAVE to bind your Ajax events, or else there is no
functionality. (the page does not refresh and gives no user interaction). I
do not think that expecting user interaction is an abnormal expectation in
a modern web app.
On Sunday, February 16, 2020 at 5:39:20 PM UTC-5, Ariel
I have a few rails 6 projects and remote forms works out of the box with no
event binding. Can you reproduce that problem with a clean rails app? maybe
you have some other js messing up rails' ajax handers.
El mar., 18 feb. 2020 a las 14:22, Momeas Interactive ()
escribió:
> Incorrect. You HAVE
Yes, I was discussing this in the Slack channel yesterday in the #coding
room
You're right that Rails no longer installs JQUery by default, but lots of
things just go ahead and encourage it anyway. (which Is fine and not what
I'm complaining about)
This guide, for example, as I said above,
Fugee-
when you switch from css to scss, you need to rename application.css to
application.scss and do the following:
*stop using //= require*
instead use @import always and from now on when using scss. Do not use *//=
require *syntax anymore
this is explained in the "IMPORTANT NOTE" at the
I don't think polymorphism in Rails can work that way
did you try
`has_many :users_following, through: :active_relationships, source:
:followable, source_type: "FollowableUser"`
`has_many :projects_following, through: :active_relationships, source:
:followable, source_type:
On Tuesday, February 18, 2020 at 6:59:15 PM UTC+1, Momeas Interactive wrote:
>
> I don't think polymorphism in Rails can work that way
>
> did you try
>
>
> `has_many :users_following, through: :active_relationships, source:
> :followable, source_type: "FollowableUser"`
>
> `has_many
14 matches
Mail list logo