Skip to content
#

sinatra

Here are 1,091 public repositories matching this topic...

rubyFeedback
rubyFeedback commented Nov 14, 2019

Whenever I try to install the sinatra gem, the first install hangs during:

"Installing ri documentation for sinatra-2.0.7"

I manually interrupt it, then do it again, and then it works.

I have no idea what causes it, but all the other gems and their ri
documentation do not have this issue.

I believe that there must be something special for sinatra documentation
done that causes this b

NicolasWebDev
NicolasWebDev commented May 11, 2016

Hi,

When generating the configuration in a rails 4 app with simple-navigation 4.0.3, the generated config does not seem to work.

For example I have this line:

primary.item :key_3, 'Admin', url, class: 'special', if: -> { current_user.admin? }

In this case the class does not get applied (using all the time the default renderer, List).

The only way for me to get it to work was to w

Gabiabi
Gabiabi commented Apr 29, 2020

Hey, I have a problem. I want to host a Jekyll-auth on a local server without usage of Cloud hosting. I'm using git docs, bundler and Jekyll-auth 2.1.1.
I run Jekyll-instance by running
sudo bundle exec jekyll-auth serve --host=tek-ffu-h0a.tek.sdu.dk

and it is stuck on "spinning up the server...". When I'm hosting it without authentication everything works. I have my git credentials defined i

grempe
grempe commented Nov 4, 2016

As requested, I am pointing to a comment you solicited regarding some improvements I would suggest for dawnscanner. The improvements are:

  • Document all scans that are performed, grouping them by type of scan and detailing what they scan
  • Consider not using a centralized scan directory at the top level of the user home dir
  • Document the scan results DB and dir structure

For original com

dradux
dradux commented Sep 24, 2015

I have a rather standard gitolite git system setup. After setting ginatra up and setting the git_dirs to my ~/repositories directory I found all repos were exposed. This can easily be changed/limted by creating a new directory and symlinking to the repos you want to expose.

For Example:

  • git_root: ~/repositories
  • public git repositories: ~/repos-public

In ~/repos-public:

  • ln -s ../repositorie
ngan
ngan commented Apr 7, 2020

Description

config.ignore_classes should take an array of strings instead of constants (or either?)

Issue

As we add error classes to the ignore_classes we're realizing that we're inadvertently loading those classes that don't need to be loaded. It would be good if ignore_classes can take in an array of class names as strings since this comparison is done at the time of error any

SirRawlins
SirRawlins commented Jan 31, 2019

Great gem folks 👍

However, I'm struggling a little to see how to work this with draft associations, and I think it's something which could perhaps be covered in the documentation?

Let's say I have a draftable blog post, and a post can have various tags associated with it.

class Post < ApplicationRecord
    has_drafts
    has_many :tags
end

class Tag < ApplicationRecord
  

Improve this page

Add a description, image, and links to the sinatra topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sinatra topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.