Rails for PHP Developers 1st Edition Derek Devries instant download
Rails for PHP Developers 1st Edition Derek Devries instant download
https://ebookname.com/product/rails-for-php-developers-1st-
edition-derek-devries/
https://ebookname.com/product/ruby-for-rails-ruby-techniques-for-
rails-developers-david-black/
https://ebookname.com/product/foundation-flex-for-developers-
data-driven-applications-with-php-asp-net-coldfusion-and-
lcds-1st-edition-sas-jacobs/
https://ebookname.com/product/docker-for-rails-developers-build-
ship-and-run-your-applications-everywhere-1-edition-
february-24-2019-edition-rob-isenberg/
https://ebookname.com/product/fight-or-pay-soldiers-families-in-
the-great-war-1st-edition-desmond-morton/
Pro C 2008 and the NET 3 5 Platform 4th Edition Andrew
Troelsen
https://ebookname.com/product/pro-c-2008-and-the-
net-3-5-platform-4th-edition-andrew-troelsen/
https://ebookname.com/product/twenty-years-of-education-
transformation-in-gauteng-1994-to-2014-1st-edition-felix-maringe/
https://ebookname.com/product/literacy-with-an-attitude-second-
edition-educating-working-class-children-in-their-own-self-
interest-patrick-j-finn/
https://ebookname.com/product/the-checklist-what-you-and-your-
family-need-to-know-to-prevent-disease-and-live-a-long-and-
healthy-life-fifth-edition-manny-alvarez/
https://ebookname.com/product/introduction-to-functional-
equations-1st-edition-prasanna-k-sahoo/
Deep Learning with Keras Implementing Deep Learning
Models and Neural Networks with the power of Python 1st
Edition Antonio Gulli
https://ebookname.com/product/deep-learning-with-keras-
implementing-deep-learning-models-and-neural-networks-with-the-
power-of-python-1st-edition-antonio-gulli/
What readers are saying about Rails for PHP Developers
The quality of the writing is superb, the challenges and examples are
engaging, and the PHP to Ruby information is a valuable resource.
The exercises are nice, are short, and follow the topic well, giving
readers some creative time between each chapter.
Mislav Marohnić
Prototype JavaScript Framework Core Developer
Every precaution was taken in the preparation of this book. However, the publisher
assumes no responsibility for errors or omissions, or for damages that may result from
the use of information (including program listings) contained herein.
Our Pragmatic courses, workshops, and other products can help you and your team
create better software and have more fun. For more information, as well as the latest
Pragmatic titles, please visit us at
http://www.pragprog.com
ISBN-10: 1-934356-04-2
ISBN-13: 978-1-9343560-4-3
Printed on acid-free paper with 50% recycled, 15% post-consumer content.
First printing, January 2008
Contents
Acknowledgments 10
Preface 11
What Rails Offers . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Who Should Read This Book . . . . . . . . . . . . . . . . . . . 12
Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
PHP and Rails: A Personal View . . . . . . . . . . . . . . . . . . 13
About the Code Examples . . . . . . . . . . . . . . . . . . . . . 14
About the Environment Used . . . . . . . . . . . . . . . . . . . 14
Version Requirements . . . . . . . . . . . . . . . . . . . . . . . 15
How to Read This Book . . . . . . . . . . . . . . . . . . . . . . . 15
Bibliography 399
Index 400
Acknowledgments
Derek would like to thank Melissa, daVinci, and his new baby girl,
Sevilla, who was born during the writing of this preface.
Mike would like to thank Kathy for her support and his parents for
buying his first computer, the Commodore 64.
We’d like to thank our reviewers: Bill Karwin, Mislav Marohnic, Tim
Fletcher, Paul M. Jones, Matthew Weier O’Phinney, Dallas DeVries,
Laura Thomson, and Chuck Hagenbuch. Their expertise, time, and
effort have been invaluable to us.
We’d like to thank the Pragmatic Programmers for giving us a great
opportunity to spread the word of Rails and our editor, Susannah, for
keeping us on track.
Thanks to everyone building open source software that we use and love,
from Rails to PHP. They truly make our working lives so much easier to
enjoy.
Preface
There is no doubt that by now you’ve heard all of the hype about Ruby
on Rails. It has been generating a lot of buzz with the promise of making
web applications fast and simple to create, and you may be wondering
what the big deal is. We know that PHP has been doing this for years
and has proven quite capable by its use in large companies such as
Yahoo. You may be wondering whether it’s worth the time investment
to learn Rails and Ruby, when you already have PHP under your belt.
Resources
All code samples are available as an archive online.1 This book is inter-
active, so make sure to download and view the sample code as you
work. Reading Ruby code is one of the best ways to learn the language.
1. http://www.pragprog.com/titles/ndphpr/source_code
PHP AND R AILS : A P ERSONAL V IEW 13
We have built a companion website for this book that is also available
online.2 We will keep this website up-to-date with further code exam-
ples, resources, and answers to frequently asked questions. Be sure to
subscribe to the feed to keep up-to-date with future articles.
2. http://railsforphp.com
3. http://maintainable.com
A BOUT THE C ODE E XAMPLES 14
function sayHello() {
print "Hello World!";
}
def say_hello
print "Hello World!"
end
Command-line prompts in this book display the base name of the cur-
rent working directory. The following example shows a command run
from the newsletter directory:
newsletter> ruby script/console
Version Requirements
Throughout the book, we compare code examples between PHP and
Ruby. The PHP examples will work on PHP 5.1 or newer. For those of
you who are still working primarily with PHP 4, you may occasionally
see PHP features mentioned that you haven’t used yet, such as excep-
tions. You’ll want to consult the PHP manual on these as you go.
The Ruby and Rails examples will all run on recent Ruby versions but
are especially geared toward Ruby 1.8.5 and newer. Before we give any
examples in Ruby, we talk about the installation and give you some
pointers on where to get the software you’ll need.
The Rails code is intended to work on Rails 2.0 or newer. We take full
advantage of new features and conventions in this version of Rails, so
most of the code will not work correctly on previous versions.
This does not mean that Rails cannot handle your application’s needs.
It just means that the solution might not be in the core Rails frame-
work and is not much different from PHP in this respect. Rails makes
it quite easy to override behavior or add custom functionality to your
application using a Rails plug-in. If you’re running into a issue with
the framework, there is a good chance that someone may have already
written a Rails plug-in or Ruby library that solves your problem.
Following Conventions
Rails takes coding standards further by imposing rules and conventions
that are fairly easy to follow. Some of these decisions such as class and
database naming conventions are typically left to the developer when
creating a new application in PHP. You’ll quickly notice that not hav-
ing to make these judgments yourself actually speeds up development
time and creates a more consistent code base between different teams
members and projects.
Your first instinct may be to do things the way you’ve always been doing
them in PHP. Although old habits die hard, you’ll be rewarded for fol-
lowing the path of least resistance in Rails.
Model
The model is the foundation of your application and consists of the
nonvisual aspects of “things” in your application. The model contains
all your interaction with the database as well as any behavior that
enhances or changes data in the database. This includes simple for-
matting and validation of the data as well as some data integrity.
Being nonvisual usually makes testing this type of data simple and
reliable. The main goals of the model layer is to represent your data in
a way that can be used among various interfaces without duplicating
code. When you think “model,” you should think business logic.
View
The view is the visual representation of your application, as well as sim-
ple logic specific to rendering the user interface. In web applications,
this is usually (X)HTML markup or JavaScript code. In today’s Web 2.0
world, you may also need to render XML in response to web service
requests. When you think “view,” think of your application’s front-end
logic and templates.
T HE MVC P ATTERN AND R AILS 23
Controller
The controller directs the traffic by handling requests sent to your
application and determining the right code to execute. It plays an im-
portant role in keeping your data loosely coupled by acting as an inter-
mediate layer between the model and the view.
The controller also maintains the state of your application using cook-
ies and session data. When you think “controller,” think of the event
handler that ties together the model and view layers.
The diagram in Figure 1.1 illustrates the three components of MVC and
shows a typical request/response cycle associated with Rails.
1. The browser sends a request to your application in the form of a
URL and GET/POST parameters.
2. The controller figures out what part of your code should deal with
this particular request. It then asks the model layer for any data
needed to perform that action.
3. The model queries the database to change or retrieve data and
hands the results back to the controller.
4. The controller passes the data to the view for use in the page
template.
I NSTALLING R UBY AND R AILS 24
1. http://rubyonrails.org/down
2. http://www.ruby-lang.org/en/downloads/
3. http://rubyforge.org/frs/?group_id=126
C REATING A R AILS A PP 25
This will install all the necessary files to get us going with RubyGems,
along with the gem command. The gem command is what we’ll use to
install Rails.
This book was written using Rails 2.0.2, and you’ll need at least this
version to run the code example in this book. If you already have a
previous version of Rails installed, you need to first remove any existing
Rails gem to make sure you’re using the version that the book is written
to work with. All gem install/uninstall commands need to be run as the
root user on *nix-based systems.
work> gem uninstall rails
Successfully uninstalled rails version 1.2.3
Remove executables and scripts for
'rails' in addition to the gem? [Yn] Y
Removing rails
Congratulations, you should now have Ruby and Rails up and run-
ning on your system. To make sure that we’re working with the correct
version of Rails, we can run the rails command with the -v option.
work> rails -v
Rails 2.0.2
4. http://subversion.tigris.org/
Another Random Document on
Scribd Without Any Related Topics
for in Ely Central, a property that is sandwiched in between the very
best ground of the Nevada Consolidated, is bordered by the Giroux
and occupies a strategic position in the great Nevada copper camp
of Ely, birthplace of what is probably the greatest lowest-cost
porphyry copper mine of America.
The Ely Central property consists of more than 490 acres. Years
before, in the early days of the camp, it had been passed over by
the geologists and promoters who selected the ground for the
Nevada Consolidated, Giroux and Cumberland-Ely, because it was
covered by a non-mineralized formation called rhyolite. As
development work progressed and the enormous value of the
surrounding mines was disclosed, it dawned on their owners that
they might have made a mistake and that it would be just as well to
obtain possession of the Ely Central property.
Before I entered upon the scene the Pheby brothers had found
themselves objects of persistent and mysterious attacks. Their credit
was assailed in every quarter and they found themselves ambushed
and bushwhacked in every move they made. They were forced into a
position where it was believed they would accept anything that
might be offered them for their interest in Ely Central. As fate would
have it, the Scheftels company entered the race at this psychological
moment.
Readers of the Market Letter and the Mining Financial News fell over
one another to get in on the good thing. Therein they were wise. By
early September the price had advanced in the market to $1. The
Scheftels publicity was strong in favor of the stock. But it had not yet
put on full steam. It was waiting for an engineer's report to make
doubly sure it was right.
The prospect fairly took the Scheftels organization off its feet. We
were dazzled. We saw ourselves at the head of a mine worth
$25,000,000 to $40,000,000. No time was lost in organizing a
campaign to finance the whole deal. Having no syndicated multi-
millionaires to back it up, the Scheftels corporation went to the
public for the money, the same as hundreds of other notable and
successful promoters had done. The ensuing publicity campaign to
raise capital has been described in hundreds of columns of
newspaper space as one of the most spectacular ever attempted in
Wall Street.
I had absolute faith in the great merits of Ely Central, a faith that
has not been dimmed in the slightest degree by the vicissitudes
through which the company, the Scheftels corporation, and myself
personally have passed. Within thirteen months the Scheftels
corporation caused to be spent for mine development more than
$150,000, and on mine and company administration an additional
$75,000. When the Scheftels company was raided by the
Government on September 29, 1910, and a stop put to further work
the expenses at the mine had averaged for the nine months of that
year above $15,000 a month. Work was going on night and day.
Every possible effort was being made to prove-up the property in
short order. Core-drills sent down from the surface had already
revealed the presence of ore at depth, and I am sublimely certain
that another month or two would have put the underground air-drills
into contact with a vast ore-body identical in quality and value with
that lying on either side in Nevada Consolidated acreage.
Ely Central was the New York Curb sensation in 1909-1910. I used
the publicity forces which had been so successful in protecting the
public against the rapacity of multi-millionaire mining-wolves to
educate them up to the speculative possibilities of Ely Central.
Up went the price. Between the first of September and the middle of
October the market advanced to $2 3-8. On October 13th advices
reached us that 30 per cent. copper ore had been struck in the
Monarch shaft. The Monarch is an independent working, far
removed from the area that is sandwiched in between the main ore-
bodies of the Nevada Consolidated. We were highly elated. The
prospect looked exceedingly bright to us, and there was no longer
any hesitation in strongly advising our following to take advantage of
an unusually attractive speculative opening.
While Ely Central stock was going skyward and all the speculating
world was making money in it, our publicity forces were busily
driving the bald facts home regarding La Rose, Cumberland-Ely,
Nevada-Utah and other pets of the mighty. Our batteries never let
up for a moment. These various attacked interests were getting
ready to strike back. If their movements had been directed by an
individual general they could not have worked with more community
of interest. One day the sky fell in on us. The plans had been
beautifully laid for our complete ruin. That we escaped utter
annihilation was almost a miracle.
The 6th day of November fell on a Saturday. The New York Sun of
that morning published under a scare head a vicious attack on the
Ely Central promotion. The attack was based on an article which was
credited in advance to the Engineering & Mining Journal and
appeared in the Sun ahead of its publication in that weekly. The Sun
had been furnished with advance proofs. The Ely Central project was
stamped as a rank swindle. Everybody identified with it was raked
over and I, particularly, was pictured as an unprincipled and
dangerous character, entirely unworthy of confidence and at the
moment engaged in plucking the public of hundreds of thousands. It
was stated that the Ely Central property had been explored in the
early days of the Ely camp and found of no value whatsoever from a
mining standpoint. The Scheftels corporation was accused of setting
out in a cold-blooded way to swindle investors on a bunco
proposition.
I called the Scheftels office on the 'phone and gave instructions that
a certified check for $40,000 be sent to Wasserman Brothers,
members of the New York Stock Exchange, with orders to purchase
10,000 shares of Ely Central at $41/8, which was the quotation at the
close on the afternoon before. Orders to buy 15,000 shares more at
the same figure were distributed among other brokers. The single
order was given to Wasserman Brothers because I thought it good
strategy. They are a house of undoubted great responsibility and it
seemed to me that their presence in the market on the buying side
would have an excellent tonic effect.
During the two hours' session I held the 'phone, receiving five
minute reports from the scene of action. Mr. Goodwin was at my
side. At ten minutes to twelve the brokers had reported the
purchase, on balance, of 24,225 shares. Had they purchased 675
shares more they would have completed the orders that were
outstanding and it would have been up to me to decide whether to
lend further support or not. By that time my figures showed that the
Scheftels corporation had thrown behind the market $200,000 in
four days to hold it and I was beginning to have "that funny feeling."
During the last few minutes of the Saturday Curb session the selling
ceased and it seemed that possibly my fears were unfounded.
On Sunday, the 7th, my hopes went a-glimmering. All the New York
papers featured scathing articles, using as authority the Engineering
& Mining Journal's attack, which had appeared on the previous
afternoon. Dispatches indicated, too, that the papers of Boston,
Chicago, Los Angeles and San Francisco had played it up on the
front page as the most shocking mining-stock scandal of the century.
Just before the market opened I could see from my office window a
dense crowd of brokers assembled around the Ely Central specialists.
Although ominously silent, they were struggling for position and
were tensely nervous. It was plain that the over-Sunday anti-
Scheftels newspaper publicity had racked Ely Central stockholders
and created a panicky movement to liquidate, which was about to
find vent in violent explosion. It was evident that the Scheftels
corporation would have to conserve every resource if the day was to
be saved.
Had the Scheftels brokers been supplied with orders to buy one-
quarter of a million shares of stock at the closing market price of the
Saturday before, $4 1-8, it was very apparent that they would have
been unable to hold the market. The opening sale was at $4.
Downward to the $3 point the stock traveled, breaking from 25 to 50
cents between sales. Through $3 and on down to the $2 point the
price crashed. Blocks of 10,000 shares were madly thrown into the
vortex of trading. The Curb was a struggling, screaming, maddened
throng of brokers. Every trader appeared to be determined to crush
the market structure. At $2 a share there was a temporary check in
the decline, but the bears renewed their onslaught, gaining
confidence by the outpour of selling orders. Within less than an hour
after the opening the stock hit $1 1-2 a share. At this juncture the
Scheftels broker in Ely Central reported that he had executed all the
stop-loss and good-till-cancelled orders entrusted to him with the
exception of 19,000 shares.
"The Scheftels company will take the lot at $1 1-2," I said.
All day long our offices were thronged with newspaper reporters and
with pale-faced and agitated customers. Our clients felt their
helplessness in such a tumult of warring forces. The only thing they
could do was to stand by and watch developments as the battle
waged. It was a proud moment for me when, at the end of the day's
market, I mounted the platform in the Scheftels customers' trading-
room, gave voice to a shrill cheer of triumph and wrote on the
blackboard the following:
"We have not closed out a single margin account! We are carrying
everybody!"
The Scheftels organization now drew its first long breath. Friends
and enemies alike marveled how the corporation had managed to
survive. We had held the fort, but at murderous cost.
The Engineering & Mining Journal said in its article that the northern
portion of Ely Central showed the Arcturus limestone of the district.
It stated that in this limestone at various places there is a little
mineralization but never during the history of the district were any
profitable results obtained. As against this, Engineers Farish, Herzig
and Weed reported that the limestone areas on Ely Central would
likely show the presence of mines. As a matter of fact, Giroux,
neighbor of Ely Central, had sunk through this limestone and opened
one of the richest bodies of copper ore ever disclosed.
The Engineering & Mining Journal said that in representing that pay
ore is likely to exist in the area of Ely Central sandwiched in between
the two big mines of Nevada Consolidated, the Scheftels company
was practicing deception. Not only did Messrs. Farish, Herzig and
Weed report in favor of the likelihood, but it is now a commonly
accepted fact that, unless all known geological indications are
deceptive, Ely Central has the ore in this stretch of territory. A report
made as late as September, 1911, by engineer Richard T. Pierce, for
the reorganization committee of Ely Central, expresses the opinion
that an area 1,300 feet by 1,900 feet at the south-east end of the
Eureka workings "will be found to contain mineralized porphyry, with
reasonable assurance that commercial ore will be had in it."
Mr. Herzig's first telegram from Ely after examining the Ely Central
property was to this effect:
There is no question that the rhyolite was deposited in Ely
Central after the enrichment of the porphyry. The Fault
that limits the rhyolite in the Nevada Consolidated pit is
indicated by several feet thickness of crushed mineralized
porphyry-rhyolite ore, which is a positive evidence that the
porphyry was enriched before the faulting. The limestone
and contact areas owned by the company, in my opinion,
have great potential value. The indications are in every
way similar to Bisbee. Rich carbonate ore has been
encountered on the Clipper and Monarch claims of Ely
Central and I look forward to seeing big ore bodies opened
up at these places.
"What will you take to make a report on Ely Central?" I asked in the
same matter-of-fact way I would have addressed a stranger.
The bargain was struck. A few days later Mr. Herzig received $2,500
from the Scheftels company, on account, and a check for traveling
expenses. He left for Ely.
On the Saturday morning when the New York Sun article appeared
containing the excerpts from the Engineering & Mining Journal's
onslaught, I wired my brother substantially as follows:
Savage attack in Engineering & Mining Journal on Ely
Central. If your report on property is favorable, I beg you
to let us have it by wire and allow the use of it to
counteract.
The same day he wired Captain Wiley to buy for his account 2,500
shares of Ely Central at the market price, which order was executed
through the Scheftels company.
The filing of the Scheftels libel suits against the Engineering &
Mining Journal was a bombshell. It was formal notice to the forces
arrayed against us that we did not propose to be made victims of an
unholy hostility and that we were determined to proceed along old
lines and not abate in the slightest our wide-open publicity
measures. It was also noticed that we proposed to go through with
the Ely Central deal.
Late that night I learned that the Inspector had invaded the living-
rooms of my associate, Nat. C. Goodwin, where he delivered himself
somewhat as follows:
"What are you fellows trying to do, anyway? What are you trying to
put across on us? Do you think we are going to stand for any such
newspaper notoriety as you are getting and watch it with our arms
folded? Do you think we are fools or crazy, or what? I want you to
understand that you fellows have got your nerve with you. Get busy
or the police will be on your backs to-morrow!"
I told Mr. Goodwin that our enemies had evidently sicked the
Inspector on to us, but that I didn't think any action would be taken.
We were victims and not culprits, and unless, indeed, the United
States was Russia, nothing untoward could happen.
Another case about which Mr. Scheftels was asked to give full
information was that of D. J. Szymanski, a corn doctor at 25 Broad
Street. Mr. Scheftels had urged the Doctor to buy Ely Central when it
was selling at 75 cents before the rise. Later, when the advance was
well under way, above the $3 point, the Doctor bought some stock
through the Scheftels corporation. When the price hit $4 he was
urged to take profits. He refused to do so. When the attack began
and the price broke badly the Doctor saw a big loss ahead.
He called at the Scheftels' office and begged for the return of the
money he had lost in his Ely Central speculation.
The investigation was heralded among the brokers and caused much
market pressure on the stocks fathered by the Scheftels company.
We were not dismayed. To strengthen our position and to give
added token of our good faith we increased our development
operations at the mines. Our expenses in that quarter were swelled
to the limit of working capacity on our underground explorations, as
I realized that our salvation might depend on making good in quick
order with Ely Central from a mining standpoint. We knew the ore
was there and that it was up to us to get it before our enemies got
us.
A GOVERNMENT RAID IS RUMORED
Out of a blue sky late in the month of June came news to the
Scheftels office that a newspaper reporter on the New York
American had stated that he had seen a memorandum in the city
editor's assignment-book to watch out for a Scheftels raid by the
United States Government. The information was reliable and it gave
us a shock. Yet the thought that the powers of a great government
like the United States could be used to crush us without giving us a
hearing seemed unbelievable.
It afterward developed that at the very time Mr. Scheftels and the
attorney were at the Department of Justice a special rubber-shoe
investigation was on under the dual direction of a young Washington
lawyer on Attorney-General Wickersham's personal staff, and a
Special Agent of the Department of Justice. The latter had been
given extraordinary powers as a special agent of the Department of
Justice, ostensibly to "clean out Wall Street."
Satisfied they were in the wrong place, Mr. Scheftels and the
counsellor departed from the Attorney-General's office for the Post-
Office Department. They were referred to Chief Inspector Sharp. The
lawyer requested that the Scheftels corporation be given a hearing
before any action was taken on any complaints that might reach the
department. Mr. Sharp agreed to this on condition that the attorney
would agree for the Scheftels company that an inspection of the
books of the corporation would be permitted on demand at any
time. There was a ready assent. A memorandum to this effect was
left with Inspector Sharp.
About 2 o'clock in the afternoon a report reached the Curb that the
bank checks of B. H. Scheftels & Company were not being promptly
certified. As this rumor gained currency the excitement on the Curb
increased. The Curb concluded that we were at last "busted." Motley
throngs began to assemble in front of the offices. The fierce yells of
brokers could be heard bidding for and offering Scheftels checks
below their face value. A throng of the riffraff of the Street swarmed
in front of the building.
One or two individuals, implacable enemies who had repeatedly led
the market onslaught against the Scheftels stocks, offered Scheftels
checks for small sums at as low as 50 cents on the dollar. These
were licked up by our friends who had been assured that we were
financially all right and that some mistake must have been made at
the bank.
Peculiarly enough, at the time when the market for Ely Central
shares was lowest, during the latter part of September, fourteen
months after the Scheftels company had taken hold of the
proposition, mine reports were most favorable. Underground
development work and churn drilling had set at rest for all time the
question of whether or not mineralized porphyry underlies the
rhyolite cap or flow extending eastward through Ely Central ground
from the steam-shovel pit of the Nevada Consolidated. Upward of
$240,000 had been paid out for administration, mine equipment and
for miners' wages to make this demonstration.
The shock of realization that our offices were being raided by the
Government did not for a moment throw me off my balance or put
fear in my heart, nor did the sense of the outrage affect me at the
moment. There was but one sickening thought—the ruin of the
edifice I and my associates had labored day and night for so many
months to build and the fate of our customers who had invested
their money in the companies we had promoted.
In a moment two members of the law firm were on their way. Within
ten minutes after the raiders had entered the offices the lawyers
were on the spot. They were denied admittance and had to content
themselves with waiting outside the door until the prisoners were
taken out.
The moment the lawyers left their offices I began to use the 'phones
to provide for the release on bail of the men arrested. I found it
necessary to go in person and so I left the lawyers' offices and
walked down Broadway. My attention was attracted by the clanging
of the bell of the police-patrol wagon. As it wheeled past me on the
run I could see my associates huddled together in the Black Maria
on their way to the bastile.
For the moment, I lost full sense of the gravity of what was
transpiring and was overcome by a feeling of joy that I had been
spared that ignominy. That self-felicitating slant of an intensely
serious situation passed. My associates were in trouble and it was up
to me to help them. I was at large and I knew that I could do more
for my friends and myself by not immediately surrendering.
I returned to the lawyer's office, where I remained. All this time the
thought never entered my mind that we were in any sense guilty of
any intent to defraud anybody, or that we had committed any
offense against law or the rules of fair conduct. The one consuming
and controlling idea in my mind was that somebody had put one
over on us and that it was up to me to organize for defense against
the abominable outrage.
What transpired behind the closed doors while the Scheftels lawyers
were attempting to gain an entrance for the instruction of the
corporation, its officers and employees as to their rights, beggars
description. Gentle reader, you would not conceive the reality to be
possible. Armed with a warrant which conferred upon him the right
to arrest, seize, search and confiscate, the Special Agent of the
Department of Justice had secured from the local police
headquarters a detail of fifteen heavily armed plain-clothes men.
Once inside the Scheftels establishment, the doors were locked and
egress barred. The main body of invaders then took possession of
the front offices, while others searched through the back rooms and
boisterously commanded everybody to remain where they were until
given permission to depart. The establishment was under seizure,
every foot of it, and every person found within its doors was held
prisoner. The Special Agent took pains to impress upon everybody
within hearing that he was in supreme command. Leaving police
guards in the front room, he stalked into the telegraph-cage where
two or three operators were sitting at tables.
Mr. Campbell didn't at first see the gun because it was pointed at his
blind eye. When he got his first peep he concluded that a maniac
had invaded his sanctum and he almost expired with apoplexy on
the spot.
Returning to the front office, the Agent entered the cashier's cage
and took possession of the company's pouch containing its
securities.
He gave no receipt to any responsible employee of the Scheftels
company for anything. When Mr. Stone, one of the cashiers,
suggested to him that he was there to safeguard the securities, he
thundered,
"What authority have you for this?" demanded Mr. Stone. The Agent
thereupon showed his badge.
A moment later one of the deputies pried open the cash-drawer. The
Special Agent was at his elbow.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com