• Each one reflects on metadata from Active Record and Streamlined.

    每个循环都反映活动记录和Streamlined的元数据。

    youdao

  • Rails has a somewhat magical component called the Active Record.

    Rails有稍微不可思议的组件,称为Active Record。

    youdao

  • The second feature that simplifies debugging is the Active Record console.

    能够简化调试的第二个功能是Active Record 控制台。

    youdao

  • Each instance of an active record class is tied to a specific row in a database.

    一个活动记录的每个实例都关系到数据库内的特定行。

    youdao

  • But I can't find out how to do a union that returns an active record relation.

    但我不能找出如何做到这一点返回一个有效记录关系的联合。

    youdao

  • The Streamlined creators could have easily added customization data to Active Record.

    Streamlined的创造者们原本可以轻易地把定制数据添加到了活动记录。

    youdao

  • The streamlined directory allows additional metadata without pollution of Active Record.

    streamlined目录支持额外的元数据,而不会污染活动记录。

    youdao

  • Active Record is an object-relational mapping (ORM) that follows a standard ORM model.

    Active Record是遵照了标准的or m模型的对象关系映射(object - relational mapping,ORM)。

    youdao

  • Active Record users do not always need to change model objects as the data model changes.

    Active Record用户并不总需要随着数据模型的改变而改变模型对象。

    youdao

  • Let's take at look at a simple (and partial) implementation of the active record design pattern.

    让我们先来看看活动记录设计模式的一个简单的部分实现。

    youdao

  • You use the active record pattern to wrap relational database persistence methods in domain classes.

    活动记录模式则可用来在域类内包装关系数据库持久性方法。

    youdao

  • A cool feature often provided in active record design pattern implementations is dynamic finder methods.

    活动记录设计模式实现内经常提供的一个很棒的特性是动态finder方法。

    youdao

  • You can find a list of the Active Record model validations that can be defined in the class scope here.

    在这里可以找到可以在类范围中定义的Active Record模型检验列表。

    youdao

  • There are many Active Record updates in this release including the introduction of nested transactions.

    该发布中有很多Active Record更新,包括嵌套事务的引入。

    youdao

  • Next, create the classes in your app that will use the active record pattern to model a database table.

    接下来,创建在应用程序,将使用该活动记录模式模型数据库表中的类。

    youdao

  • The framework queries two sources of metadata: the Active Record model and a custom metadata file for each model object.

    框架查询两个元数据源:活动记录模型和每个模型对象的定制元数据文件。

    youdao

  • By default, Rails captures enough metadata within Active Record to build a surprisingly sophisticated default user interface.

    默认情况下,Rails从活动记录内捕获到足够的元数据,构建复杂的用户界面。

    youdao

  • Active Record associates a class with a table and dynamically adds an attribute to each class for every column in the database.

    Active Record将类和表关联起来,并按照数据库中的每一列给每个类动态地添加一个属性。

    youdao

  • It does not currently include Active Record, the powerful domain model library on which Rails database model objects are built.

    当前的版本还未包括Active Record,这是Rails数据库模型对象赖以为根本的强大的领域模型类库。

    youdao

  • Active Record simply overrides method_missing and parses the method name at run time to determine whether the method name is valid.

    Active Record越过method_missing并在运行时解析该方法名以确定该方法名是否有效。

    youdao

  • The Streamlined approach lets a single place consolidate common view characteristics, much as Active Record does for persistence concerns.

    Streamlined方法允许在一个地点合并常见视图特征,非常像活动记录为了持久性考虑而做的那样。

    youdao

  • The second loop iterates through all relationships in the Active Record model and renders the appropriate partial for each relationship.

    第二个循环在活动目录模型中的所有关系上迭代,并呈现每个关系的适当部分。

    youdao

  • Through some nifty lexical analysis, Active Record is able to determine that the ORDER class will map to the ORDERS table in the database.

    通过一些漂亮的词汇分析,Active Record能够判断出,Order类将映射到数据库中的ORDERS表。

    youdao

  • Then it shows how PHP V5.3's LSB feature resolves those issues, while showing implementations of the singleton and active record design patterns.

    然后展示了PHPV5.3的LSB特性,并给出了单例和活动记录设计模式。

    youdao

  • For standard validations like checking the name, length and format of an attribute, we can make use of validations provided by Active Record.

    对于标准的检验(比如检查属性的名称、长度和格式),可以使用Active Record提供的检验。

    youdao

  • With ORM, you can work with software objects that represent your data and let the Active Record library take care of communicating with the database.

    有了ORM,你可以操作代表资料的软体物件,然后Active record函式库将会处理与资料库的操作。

    youdao

  • In this case, we will follow the Active Record pattern and wrap a database row with a class capable of all database operations. Its code is shown below.

    在本例中,我们将遵循active Record模式并用能够执行所有数据库操作的类封装数据库行。

    youdao

  • In Part 1, you saw how scaffolding used the metadata provided by Active Record — types, column names, and relationships — to build a sophisticated user interface.

    在第1部分中,看到了搭建如何使用活动记录提供的元数据——类型、列名称和关系——来构建复杂的用户界面。

    youdao

  • streamlined_relationships.rb contains more information about relationships specified through Active Record, such as how Streamlined will render the relationships.

    streamlined_relationships.rb包含活动记录中指定的关系的更多信息,例如Streamlined要如何呈现关系。

    youdao

  • Whereas the singleton implementation uses the subclass's class name, other patterns (such as active record, covered later) need to reference other static properties.

    尽管单例实现使用的是子类的类名,其他的模式(比如稍后介绍的活动记录模式)需要引用其他的静态属性。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定