method

fixture_name

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: TestUnit::Generators::ScaffoldGenerator
fixture_name() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb, line 22
      def fixture_name
        @fixture_name ||=
          if mountable_engine?
            "%s_%s" % [namespaced_path, table_name]
          else
            table_name
          end
      end
Register or log in to add new notes.