Results 38 issues of Erik Chan

`@document_texts = Texts.where(active: true).reorder(created_at: :asc).limit(x).offset(y).page(params[:page])` I would like to offset my records and then limit the total number of records that can be shown with something similar to the above...

I have records that are sorted by an attribute called priority. And the priority is the same for two particular records, item A and item B, in my list. When...

I'm trying to figure out how to replace the paragraphs with translated text. I can't quite figure out how the 'replace_entry' function works. Is that the best way to go...

Is this possible if I have the document password? If not, can someone point me to where/how I can add this functionality?

question

I'm surprised there isn't much information on being able to select case sensitivity..

How/where do the form fields get reset when the reset URL is requested? My table data is being reset when I click on the 'reset' button but my form fields...

Many of my .doc and .docx conversions result in text files with single and double spaces in between words. This seems to happen at random when the words only have...

My application controller has an 'around_action' call to change the locale, but it is breaking the admin cms and keeping the page from rendering, any idea why this is a...

I'm a little confused by what the dummy input should be in the [documentation to export from Pytorch to Onnx](https://pytorch.org/docs/stable/onnx.html)? Is this something I can determine from the Pytorch model's...

Curious to know if anybody has methods to change swagger host according to the environment or requesting domain