Skip to content
#

mvc

Here are 5,642 public repositories matching this topic...

thelucid
thelucid commented Jun 19, 2014

I've come up against a bug with ActiveRecord when using namespaces models and polymorphic associations, it's a common use-case so should probably be fixed before a 4.2 release.

Error:

NoMethodError: undefined method `relation_delegate_class' for Comment:Module

Example:

class Post::Base < ActiveRecord::Base
  self.table_name = 'posts'
end

class Post::Special < Post::Base
  has
interludic
interludic commented Oct 31, 2018
  • Corcel Version: "jgrossi/corcel": "2.5.*",

  • Framework Name & Version: "laravel/framework": "5.5.*",

  • PHP Version: 7.1

Description:

Cant find model... for

// clean and simple all posts from a category
$cat = Category::slug('uncategorized')->posts->first();
$cat->posts->each(function($post) {
echo $post->post_title;
});

ihp
fegu
fegu commented Oct 28, 2020

File uploads automagically appear in /static/uploads/action/id. Using the local filesystem is a bit dated, we should offer configurable cloud storage options where people could choose provider (e.g. Azure or AWS) and enter their own access key to their own blob storage account.

(also, uploads currently keep the original file as picture.upload wasting space. Keeping this file should at least be

Improve this page

Add a description, image, and links to the mvc 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 mvc topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.