2009/02 (RSS)

RSpec troubleshooting

1.uninitialized constant Dependencies Conditions: In windows under way to install the RSpec gem and rspec-rails. However, in ruby script / spec_server to do the test under the spec your_spec.rb-X will ...

rails string

Embedded string form; 1. <% = Link_to "section # (@ m) a view",: action => "show"%> 2.def hello (name) "Welcome, # (name)!" end 3.Post.find (: all,: conditions = ...

Alternative to Java with Ruby to do unit testing interface rest!

Ruby is long overdue to replace java more flexible and make some necessary changes in a matter of, if not deep-rooted culture of the company's java, I think. . . . . . The following are my Writing ...

Answer: After 2.2 upgrade mysql question-driven

windows installed after the mysql gem error, error is approximately: ArgumentError (NULL pointer given): (eval): 3: in `each_hash ' (eval): 3: in `all_hashes' This is feeling under the windows ...

ROR resources

Ruby Web site resources: ruby official website: http://www.ruby-lang.org ruby doc official website: http://www.ruby-doc.org rubyonrails official website: http://www.rubyonrails.org programming ruby on ...

Shoes - Construction Ruby client gadget

Shoes Ruby are cross-platform GUI applications, recently released a new version, it is a very interesting Ruby GUI client, the following are some characteristics of Introduction: 1. Cross-platform sup ...

[Ask] Rest nested resources helper method

(Novice, studying RestFul_Rails, rails 2.2.2) Nested resource definition is as follows: And in the project under the index view using the following code: Results page error: iterations_path undefined ...

lighttpd + fastcgi built a server how to preserve the status of server

Requirements: server-side has much static files, there is much use of c + + to prepare the operational components necessary to carry out these functions on the external packaging Published Service, se ...

JPA data source data source to configure Tomcat conversion essay questions

To the JPA in the use of the development process, sometimes used in the data source conversion problem, The following methods are only my personal experience of a situation and its solutions, if diffe ...

Spring jar package Detailed

AspectJ directory are in the Spring framework to use AspectJ source code and test program files. AspectJ is the first java application framework provided by the AOP. dist directory is a Spring release ...

What is the JPA

Same, JDO, also started compatible JPA. At the field of ORM, it seems that JPA is a benevolent government, is the normative specification. At the support of major manufacturers, JPA use became widespr ...

hibernate load delay

Lazy loading: Lazy loading mechanism is in order to avoid unnecessary performance overhead and put forward the so-called lazy loading is required when the real data at a time when the real implementat ...

Hibernate in the inverse and cascade

First of all, to quote another blog saying: 1.cascade ="..."? cascade is not a property of many-to-many relationship must have it just so that we insert or delete at the time like some more ...

Hibernate query: HQL and Criteria

HQL query methods generally used in more general way through the query query. Examples are as follows: The Criteria is a more than HQL query object-oriented approach: Created as follows: Criteria crit ...

Hibernate configuration parameter table

# # Auto schema export # hibernate.hbm2ddl.auto create-drop # hibernate.hbm2ddl.auto create # hibernate.hbm2ddl.auto update # hibernate.hbm2ddl.auto validate The first is to create a table in the dele ...

Hibernate II Study Notes

11. Many-to-many Of many that can be converted to two one-to-many many-to-many data only from one end of the maintenance, if at both ends of maintenance, will be reported to the conflict between form ...

To a generic hibernate example DAO

Reprint: http://blog.csdn.net/dingx

Building Scalable java EE application (2)

When the number of concurrent users marked the beginning of growth, you may be dissatisfied with a single machine can provide the performance, or because of a single JVM instance gc restrictions, you ...

servlet specification 2.2

Introduction: Spring Security watch, when to see more use of the Servlet Listener, filter and so on. Filter done, listener never. Therefore want from the Internet to find a closer look at the servlet ...

Rails command

In windowsxp install ruby on rails of sqlite3-ruby problem-solving nmake 'nmake' is not recognized as an internal or external command,

Workspace run under different Eclipse

Now do live more and more often required to use eclipse in java and ruby & rails project conducted between the tangential shear from the past, because in the rails project used a coloring Aptana prefe ...

web test summary

In the Web engineering process, Web-based system testing, recognition and acceptance is an important and challenging job. Web-based system testing with the traditional software testing different, it w ...

Maven 2.0: Compile. Test. Deployment. Run

http://maven.apache.org junit junit 3.8.1 test Created the project, we can ...

Software development sunflower Baodian [reprint]

Master the ability to reuse code very familiar with the new API's fast. This is because, he once used a lot of the API, have a lot of reusable code. He knows what is available and what is deficien ...

Professional IT management talent required ability Ten

Technical article] [IT168 As an IT technical staff, that no one person is willing to Forever in the bottom of the preparation procedure or to do simple maintenance. After a period of technology and th ...

Universal Data Access Control System Design

Figure II: general data rights management system database design Comparison of two maps, we can see that the main changes between them are: 1, increase system resources, information and operation type ...

Software practitioners to talk about the direction of study and career planning

First, about the direction of enterprise computing Enterprise computing (Enterprise Computing) are slightly better to listen to the fashionable term mainly refers to enterprise information systems, su ...

jBPM Development Getting Started Guide

Although the workflow is still immature stage of development, not even a recognized standard. But its application has already been launched in the Express, indicating the market's demand for job-f ...

Commonly used version control software

Commonly used version control software According to view the network information, see the general use version control software as follows: (One of the level of reviews from one of http://www.hansky.co ...

Object-oriented design principles 11

What is object-oriented design? Contains what? The benefits of it are what? Required to pay what you do? In today's age, ask these questions seem to be foolish, because this year almost every soft ...

The company first entered the company I would like to Optimize SQL project

I was a time not long into the company of people, but also a person to be graduated, but immediately entered the project team, involved in the development. The project is to make a China Telecom Opera ...

How to do a good job in the demand for change management - needs to change flow specification

Project Leader: assessment needs to change some of the workload to determine whether it needs to change the contents of the progress on the development of an impact, if the demand to change the progre ...

Openfire Plugin Developer's Guide

Introduction Openfire features plug-ins are enhanced. This document is a guide to developers to create plug-ins. The structure of a plug-in Plug-ins Plug-ins openfireHome stored in the directory. When ...

Project management experience

Project management experience

js events dynamically add and write-off

IE's JScript existence of memory leak bug must we all know or have heard of. This is because of IE's memory recovery manager of a design error. When we create a prepared script when a cross-re ...

JS in the Date type conversion

http://blog.csdn.net/yzy0612/archive/2007/08/07/1730732.aspx

Detailed JS regular expressions

Opening, or have to talk about ^ and $ that they are separately used to match the beginning and end of the string, the following examples to illustrate separately "^ The": there must be at the beginni ...

JS charts extjs implementation tools can be combined

OpenFlashChart brief introduction by valensoft 2009-1-10 8:29:00 OpenFlashChart is an open source Flash and Javascript to the technical foundation for the free chart, using it to create some very usef ...

A common JavaScript page

1.JavaScript code 2.CSS code 3. The use of examples

Use Ext JS to read the JsonReader complex object json

Today was how to resolve the following complex json object to the difficult living over a long time .. did not find documentation how to read JsonReader Ways json object (possibly also because of thei ...

Struts2.1 how to integrate DWR?

---------

JavaScript inheritance

About JavaScript inherited a small example ... demo4

JavaScript String Functions Guinness

Own JS function 1.Asc (x), Chr (x): convert characters, character code 2. Filter: Search string array of a specific string Format: v = filter (x, s [, include [, compare]]) Examples: Dim x ()={" kjwan ...

Struts2 Spring Hibernate integration of easy

1. Add Spring 2.0 in Libraries Choose the following four jar, and configure the / WEB-INF/lib under Spring2.0 AOP Libraries Spring2.0 Core Libraries Spring2.0 Persistence Core Libraries Spring2.0 WEb ...

js page Jump implementation of a number of ways

The first is: window.location.href = "login.jsp? backurl =" + window.location.href; The second: alert ( "Return"); window.history.back (-1); Th ...

Java Programmer job

Personal Resume Tertiary qualifications (09 session) Political outlook of members of 22 professional software technology age - NIIT Contact us 13138628171 Email 305911722@qq.com ---------------------- ...

hibernate (jpa) composite primary key annotation statement Ways

hibernate (jpa) composite primary key annotation statement Ways

Choose Hibernate or iBATIS has its reasons

Hibernate features: Hibernate powerful database has nothing to do with good, O / R mapping ability, and if you are very proficient in Hibernate, but also for Hibernate to conduct an appropriate packag ...

EJB ant script to deploy template works

Struts2 Spring Hibernate's easy to integrate

1. Add Spring 2.0 in Libraries Choose the following four jar, and configure the / WEB-INF/lib under Spring2.0 AOP Libraries Spring2.0 Core Libraries Spring2.0 Persistence Core Libraries Spring2.0 WEb ...