Pro Active Record


Book Description

Pro ActiveRecord for Ruby helps you take advantage of the full power of your database engine from within your Ruby programs and Rails applications. It walks you through every step from the basics of getting and installing the ActiveRecord library to working with legacy schema to using features specific to each of today's most popular database engines, including Oracle, MS SQL, and MySQL. You'll come to a deep understanding of ActiveRecord that will enable you to truly exploit all that Ruby, Rails, and your chosen database platform have to offer.




Professional Ruby on Rails


Book Description

Nothing less than a revolution in the way web applications are constructed,Ruby on Rails (RoR) boasts a straightforward and intuitive nature that avoids programming repetition and makes it infinitely easier to build for the web. This book captures the current best practices to show you the most efficient way to build a spectacular web application with RoR. You?ll learn everything you need to know in order to extend Rails so that you can take advantage of the many exciting and wonderful things that are being done by the diligent RoR programming community.




Rails AntiPatterns


Book Description

The Complete Guide to Avoiding and Fixing Common Rails 3 Code and Design Problems As developers worldwide have adopted the powerful Ruby on Rails web framework, many have fallen victim to common mistakes that reduce code quality, performance, reliability, stability, scalability, and maintainability. RailsTM AntiPatterns identifies these widespread Rails code and design problems, explains why they’re bad and why they happen—and shows exactly what to do instead. The book is organized into concise, modular chapters—each outlines a single common AntiPattern and offers detailed, cookbook-style code solutions that were previously difficult or impossible to find. Leading Rails developers Chad Pytel and Tammer Saleh also offer specific guidance for refactoring existing bad code or design to reflect sound object-oriented principles and established Rails best practices. With their help, developers, architects, and testers can dramatically improve new and existing applications, avoid future problems, and establish superior Rails coding standards throughout their organizations. This book will help you understand, avoid, and solve problems with Model layer code, from general object-oriented programming violations to complex SQL and excessive redundancy Domain modeling, including schema and database issues such as normalization and serialization View layer tools and conventions Controller-layer code, including RESTful code Service-related APIs, including timeouts, exceptions, backgrounding, and response codes Third-party code, including plug-ins and gems Testing, from test suites to test-driven development processes Scaling and deployment Database issues, including migrations and validations System design for “graceful degradation” in the real world




Proactive Policing


Book Description

Proactive policing, as a strategic approach used by police agencies to prevent crime, is a relatively new phenomenon in the United States. It developed from a crisis in confidence in policing that began to emerge in the 1960s because of social unrest, rising crime rates, and growing skepticism regarding the effectiveness of standard approaches to policing. In response, beginning in the 1980s and 1990s, innovative police practices and policies that took a more proactive approach began to develop. This report uses the term "proactive policing" to refer to all policing strategies that have as one of their goals the prevention or reduction of crime and disorder and that are not reactive in terms of focusing primarily on uncovering ongoing crime or on investigating or responding to crimes once they have occurred. Proactive policing is distinguished from the everyday decisions of police officers to be proactive in specific situations and instead refers to a strategic decision by police agencies to use proactive police responses in a programmatic way to reduce crime. Today, proactive policing strategies are used widely in the United States. They are not isolated programs used by a select group of agencies but rather a set of ideas that have spread across the landscape of policing. Proactive Policing reviews the evidence and discusses the data and methodological gaps on: (1) the effects of different forms of proactive policing on crime; (2) whether they are applied in a discriminatory manner; (3) whether they are being used in a legal fashion; and (4) community reaction. This report offers a comprehensive evaluation of proactive policing that includes not only its crime prevention impacts but also its broader implications for justice and U.S. communities.




Technology in Education. Technology-Mediated Proactive Learning


Book Description

This book constitutes extended papers from the Second International Conference on Technology in Education, ICTE 2015, held in Hong Kong, China, in July 2015. The 26 full papers presented in this volume were carefully reviewed and selected from 41 submissions. They were organized in topical sections named: technology-enabled learning; mobile learning and ubiquitous learning; open learning and online learning; institutional strategies, policies and practices; and learning platforms and advising systems.




Impact of Proactive Enforcement of No-Contact Orders on Victim Safety and Repeat Victimization


Book Description

Examines the impact of proactive enforcement of court-imposed no-contact orders (NCO) on offender behavior and victim safety in cases of misdemeanor domestic violence. The objectives were to assess whether proactive enforcement: (1) increased victim knowledge about NCO; (2) reduced contact between offenders and victims; and (3) increased victim safety and promoted well-being. Contents: (I) Introduction: Two Types of Protection Orders; Relevant Historical Info. for the Current Study; Current Study; (II) Review of the Recent Civil Protection Order Literature: Protection Order Evaluations; Characteristics of Women Who Seek Protection Orders; Other Issues Regarding Obtaining Orders; Limitations of Prior Research; (III) Results. Charts and tables.




Proactive Policing


Book Description

Proactive policing, as a strategic approach used by police agencies to prevent crime, is a relatively new phenomenon in the United States. It developed from a crisis in confidence in policing that began to emerge in the 1960s because of social unrest, rising crime rates, and growing skepticism regarding the effectiveness of standard approaches to policing. In response, beginning in the 1980s and 1990s, innovative police practices and policies that took a more proactive approach began to develop. This report uses the term "proactive policing" to refer to all policing strategies that have as one of their goals the prevention or reduction of crime and disorder and that are not reactive in terms of focusing primarily on uncovering ongoing crime or on investigating or responding to crimes once they have occurred. Proactive policing is distinguished from the everyday decisions of police officers to be proactive in specific situations and instead refers to a strategic decision by police agencies to use proactive police responses in a programmatic way to reduce crime. Today, proactive policing strategies are used widely in the United States. They are not isolated programs used by a select group of agencies but rather a set of ideas that have spread across the landscape of policing. Proactive Policing reviews the evidence and discusses the data and methodological gaps on: (1) the effects of different forms of proactive policing on crime; (2) whether they are applied in a discriminatory manner; (3) whether they are being used in a legal fashion; and (4) community reaction. This report offers a comprehensive evaluation of proactive policing that includes not only its crime prevention impacts but also its broader implications for justice and U.S. communities.




Proactive Classroom Management, K–8


Book Description

77 practical activities that reinforce positive behavior This gold mine of teacher-developed and -approved activities goes beyond classroom management theory and gives you ready-to-use tools that not only encourage positive behavior, but also empower students to take responsibility for their behavior. Excellent for all students, these activities will help you: Improve your teaching and classroom management skills Enhance your knowledge base Maintain a positive attitude so that you can be proactive rather than reactive Also included are a quick-glance chart that groups the activities by appropriate grade level and helpful checklists.




Proactive Supplier Management in the Medical Device Industry


Book Description

In order for organizations to have high confidence in the reliability of their medical devices, they must ensure that each and every component or service meets requirements, including quality requirements. In that light, supplier management is not only a regulatory requirement but also a business aspect. The intent of this book is to show readers a process of effectively selecting, evaluating, and implementing applicable controls based on the evaluation and ongoing proactive management of suppliers, consultants, and contractors in a state of compliance. These processes can be applied to all suppliers, consultants, and contractors. In writing this book, the authors made sure that readers could immediately apply its content. They provide best practices based on a combined 50+ years of quality and engineering experience, having worked with some of the best medical device companies and contract manufacturers in the world. Four icons use throughout the book help readers navigate and understand the content. The FDA and toolbox icons assist in determining whether it's a requirement or a tool to help achieve compliance. The Lessons from the Road” icon indicates real-life stories and what the authors have learned throughout their careers. Lastly, the check mark icon is used to highlight key thoughts, what they feel are unique takeaways or deserve a special focus.




Proactive Data Mining with Decision Trees


Book Description

This book explores a proactive and domain-driven method to classification tasks. This novel proactive approach to data mining not only induces a model for predicting or explaining a phenomenon, but also utilizes specific problem/domain knowledge to suggest specific actions to achieve optimal changes in the value of the target attribute. In particular, the authors suggest a specific implementation of the domain-driven proactive approach for classification trees. The book centers on the core idea of moving observations from one branch of the tree to another. It introduces a novel splitting criterion for decision trees, termed maximal-utility, which maximizes the potential for enhancing profitability in the output tree. Two real-world case studies, one of a leading wireless operator and the other of a major security company, are also included and demonstrate how applying the proactive approach to classification tasks can solve business problems. Proactive Data Mining with Decision Trees is intended for researchers, practitioners and advanced-level students.