{"id":644,"date":"2022-08-30T15:04:47","date_gmt":"2022-08-30T15:04:47","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/devise-and-invitable-plugin-how-do-you-set-the-invitation_limit-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:04:47","modified_gmt":"2022-08-30T15:04:47","slug":"devise-and-invitable-plugin-how-do-you-set-the-invitation_limit-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/devise-and-invitable-plugin-how-do-you-set-the-invitation_limit-collection-of-common-programming-errors\/","title":{"rendered":"devise and invitable plugin : how do you set the invitation_limit-Collection of common programming errors"},"content":{"rendered":"<p>My guess is that you are using the version of the devise_invitable gem that does not include &#8220;invitation_limit.&#8221; You will need to use at least v0.4.rc5 to get all the new coolness that the documentation talks about. It&#8217;s definitely a little confusing. Your Gemfile should look like this:<\/p>\n<pre><code>gem 'devise', '~&gt;1.2.0'\ngem 'devise_invitable', '~&gt;0.4.rc5'\n<\/code><\/pre>\n<p>See here for a more in depth write-up about this issue with devise_invitable.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 21:10:00. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>My guess is that you are using the version of the devise_invitable gem that does not include &#8220;invitation_limit.&#8221; You will need to use at least v0.4.rc5 to get all the new coolness that the documentation talks about. It&#8217;s definitely a little confusing. Your Gemfile should look like this: gem &#8216;devise&#8217;, &#8216;~&gt;1.2.0&#8217; gem &#8216;devise_invitable&#8217;, &#8216;~&gt;0.4.rc5&#8217; See [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-644","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=644"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/644\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}