Search

Ideas that are…

Search Ideas


809 ideas match your query.:

Hiccdown methods should live in their own, separate modules. How about they are called ‘renderers’?

ruby
module ProductsRenderer
def self.index vc, # …
vc.some_helper_method
end
end

A benefit of this approach is that, when people start a new Rails app, they may end up putting whatever they’d otherwise put in a helper in a renderer, since renderers have the benefit of having unambiguously resolvable method names.

#316​·​Dennis HackethalOP revised about 2 years ago​·​Original #313​·​Criticized1Archived

Then how would you call this from a helper method?

#314​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized2Archived

If so, there might be a way to bind them to the view_context. Or I could definitely pass the view_context explicitly as the first parameter:

So instead of

ruby
@helper_module.instance_method(@action_name).bind_call(view_context)

I would do

ruby
@helper_module.send(@action_name, view_context)

And the parameter list of each Hiccdown method would start accordingly:

ruby
module ProductsHelper
def self.index vc #, …
# …
end
end
#308​·​Dennis HackethalOP revised about 2 years ago​·​Original #307​·​CriticismCriticized1Archived

If so, there might be a way to bind them to the view_context. Or I could definitely pass the view_context explicitly as the first parameter.

#307​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized1Archived

Does that mean they wouldn’t have access to the view_context? If so, calling helper methods from inside these class methods wouldn’t be possible.

#305​·​Dennis HackethalOP revised about 2 years ago​·​Original #304​·​CriticismCriticized1Archived

Does that mean they wouldn’t have the view_context? If so, calling helper methods from inside these class methods wouldn’t be possible.

#304​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized1Archived

Hiccdown methods should live in Rails helpers as class methods. That way, the problem described in #302 is solved – methods can be referenced unambiguously:

ruby
ProductsHelper.index
StoresHelper.index
#303​·​Dennis HackethalOP, about 2 years ago​·​Criticized3Archived

Hiccdown methods should live in Rails helpers as instance methods.

#302​·​Dennis HackethalOP revised about 2 years ago​·​Original #300​·​Criticized2Archived

Hiccdown methods should live in Rails helpers.

#300​·​Dennis HackethalOP, about 2 years ago​·​Criticized1Archived

I’m pro abortion but I have some pro life in me.

Banning the abortion of a zygote seems ridiculous. So does aborting a seven-month-old fetus.

Why not go with: you can abort until the nervous system develops.

Clearly, an embryo without a nervous system can’t be sentient and thus can’t be a person, right? And as long as it’s not a person, it doesn’t have any rights.

According to https://www.neurosciencefoundation.org/post/brain-development-in-fetus, “an embryo’s brain and nervous system begin to develop at around the 6-week mark.” And: “At as early as 8 weeks (about 2 months), you can see physical evidence of the brain working (the electric impulses) as ultrasounds show the embryo moving.”

This idea is for viable pregnancies only. Other considerations may apply for non-viable ones.

#299​·​Dennis HackethalOP revised about 2 years ago​·​Original #104​·​Criticized1

If an already-born person is deadly ill, that doesn’t mean you can kill them.

#278​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized1

I’m pro abortion but I have some pro life in me.

Banning the abortion of a zygote seems ridiculous. So does aborting a seven-month-old fetus.

Why not go with: you can abort until the nervous system develops.

Clearly, a fetus without a nervous system can’t be sentient and thus can’t be a person, right? And as long as it’s not a person, it doesn’t have any rights.

According to https://www.neurosciencefoundation.org/post/brain-development-in-fetus, “an embryo’s brain and nervous system begin to develop at around the 6-week mark.” And: “At as early as 8 weeks (about 2 months), you can see physical evidence of the brain working (the electric impulses) as ultrasounds show the embryo moving.”

This idea is for viable pregnancies only. Other considerations may apply for non-viable ones.

#276​·​Dennis HackethalOP revised about 2 years ago​·​Original #104​·​Criticized1

For non-viable pregnancies, where a doctor reasonably predicts that the baby will die during pregnancy or shortly after, abortions should be allowed throughout the entire pregnancy to avoid unnecessary suffering for parents and child.

#274​·​Dennis HackethalOP, about 2 years ago​·​Criticized2

This take does not address the issue of non-viable pregnancies.

Imagine being pregnant and looking forward to becoming a parent. However, during a routine diagnostic test, your doctor tells you your pregnancy isn’t viable; at birth, your baby will likely not survive long outside the womb. Because you live in a state like Texas that has recently banned abortion with few exceptions, you now need to carry this pregnancy to term, carrying the grief of a non-viable fetus and likely endangering your own life in the process.

#273​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized1

Some say that there’s a soul from the moment of conception; that the soul has a right to life.

#271​·​Dennis HackethalOP, about 2 years ago​·​Criticized1

Some people say the demarcation point should be the heartbeat.

#269​·​Dennis HackethalOP, about 2 years ago​·​Criticized1

This seems like a response to another idea (presumably #230 and/or #232), rather than a top-level idea itself. I suggest you move this idea and break it up if necessary. Mark it as a criticism to whatever ideas you end up criticizing.

But first, familiarize yourself with the current state of the discussion. Ensure that you’re making new points. These sound like points others have made before you in this discussion. Read the entire discussion before you continue. If these points are indeed duplicates, either think of new criticisms or address existing criticisms. Don’t repeat the same ideas if you can’t address preexisting issues with them.

#238​·​Dennis HackethalOP revised about 2 years ago​·​Original #235​·​CriticismCriticized1

This seems like a response to another idea (presumably #230 and/or #232), rather than a top-level idea itself. I suggest you move this idea and break it up if necessary. Mark it as a criticism to whatever ideas you end up criticizing.

But first, ensure that you’re making new points. These sound like points others have made before you in this discussion. Read the entire discussion before you continue. If these points are indeed duplicates, either think of new criticisms or address existing criticisms. Don’t repeat the same ideas if you can’t address preexisting issues with them.

#236​·​Dennis HackethalOP revised about 2 years ago​·​Original #235​·​CriticismCriticized1

This seems like a response to another idea (presumably #230 and/or #232), rather than a top-level idea itself. I suggest you move this idea and break it up if necessary. Mark it as a criticism to whatever ideas you end up criticizing.

#235​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized1

practically, i think the best we can do now is viability outside the mother
if it's viable and there are people willing to adopt [then] the mother shouldn't have the right to kill it
if there's no one willing to take care of it i don't see how anyone can demand for it to not be aborted.

#231​·​Dennis HackethalOP, about 2 years ago​·​Criticized1

depends whether the mother took measures to not get pregnant, if she did and still got pregnant - less responsibility

#228​·​Dennis HackethalOP revised about 2 years ago​·​Original #227​·​CriticismCriticized1

depends whether the mother took measures to not get pregnant, if she did and still got pregnant - less responsibility

She was neither forced nor tricked. She took an action which she knew (or should have known) comes with certain risks. The risks materialized. That doesn’t make her any less responsible.

On the contrary, per my suggestion, she had six weeks to monitor whether she was pregnant. That’s long enough to miss her period, which is a huge warning sign she’d have to be extremely dishonest about with herself to just ignore. During those six weeks, she could have unilaterally decided to get an abortion safely and with impunity. She instead chose to ignore her pregnancy, evade it, not do anything about it, whatever.

Her body, her choice, her responsibility. #171, #172

#227​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized1

i agree that morally the cutoff point should be personhood, though i think that probably happens later than the development of nervous system

#225​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized1

If, contrary to #221, premature delivery is possible and others want to “save the baby and take care of it”, then sure, go ahead as long as there are no downsides for the baby. But that’s not abortion, so I don’t see how this stance is a criticism of my abortion stance.

#222​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized1

it's not a reason in one direction or another, if other people are willing to save the baby and take care of it that seems like a win-win

#220​·​Dennis HackethalOP, about 2 years ago​·​CriticismCriticized2