brick icon indicating copy to clipboard operation
brick copied to clipboard

Auto-generate models, views, controllers, and routes in a Rails app based on database structure

Results 7 brick issues
Sort by recently updated
recently updated
newest added

Hi Lorint, Love this gem! I'm testing this gem with a database that contains a rich_text table, and I am getting a has_many_attached' for ActionText::RichText:Class (NoMethodError) when running the install...

Could you list all the commands/ generators we can use with Brick, I tried to generate controllers but can't figure out the command. I tried this `bin/rails g brick:controllers` but...

I have a schema generated by a visual modelling tool (DbSchema) and in generating migrations The Brick listed these errors: `Can't do devices because: premise_bt Can't do inspections because: inspector_bt,...

Dear maintainer/creator, I am very interested in your .select with .includes work here, as I am trying to accomplish something very similar for my company. I also saw your post...

When having multiple schemas in the same db, brick will add the name of the schema to the model's name in this format ::. Is there a way to bypass...

Using the autogeneration of models, I've got some associations named after the foreign_key instead of the associated model name, for example: ```ruby class Musicbrainz::Musicbrainz::LLabelUrl < Musicbrainz::Base .... belongs_to :entity0, class_name:...

Hi there, i noticed that a couple of models from the models autogeneration have this weird empty belongs_to polymorphic association: `belongs_to :"", polymorphic: true` Here it's some debugging info I...