Displaying 20 results from an estimated 500 matches similar to: "Best Book 4 RoR"
2013 Aug 27
2
trying to create asset management app having trouble with edit page
i trying to create an asset management app. i am working through the
ruby on rails 4.0 guide by Michael Hartl but in his guide it shows edit
page for authenticated users i do not needthis function as the app will
be deployed to an intranet. i have tried to adapt the edit portion in
the above mentioned guide but it is not working. i am a newbie to this
so any help with websites to look at or other
2013 Apr 27
4
required field for one, optional for another
rails 3.2.11
My app has User model, its one of the fields is entrepreneur:boolean.
So users have two types; one is normal users, the other is professional
users.
For normal users, only emails and usernames are required and other
fields are optional.
For professional users, in addition to above, addresses and real names
are required.
Is there any Ruby way to set the requirement depending on the
2013 Jun 25
6
creating an account with a username in devise
Hello, all. I have followed these links and have enabled a (current)
user to login with a username:
http://railscasts.com/episodes/209-introducing-devise
http://railscasts.com/episodes/210-customizing-devise
https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-using-their-username-or-email-address
I want to allow a user to sign up with a username but am getting these
2012 Oct 29
16
Newbie - deployment, hosting
Hello,
So, after learning ruby on rails and building a great app on my local
machine, I need to find a host, deploy, and of course maintain a (staging
and) production environment.
This all seems very confusing, and I''d like to learn this in an organized
manner, step by step:
I''ve come across the names: Unicorn, nginx/apache, capistrano,
Thin/mongrel, Engine Yard, EC2, etc.,
2012 Jul 18
3
Undefined method error
I have been working on a project based on Michael Hartl''s book Ruby on
Rails Tutorial in order to try to teach myself Ruby on Rails. However,
when it tries to render a form designed to allow a user to submit a
small message, I get an error saying, "undefined method `model_name'' for
NilClass:Class". It says the error is at line 1, which is "<%= form_for
2012 Feb 03
10
ruby on rails 3 tutorial book chapter9 Signin Failure
Hi I have problem trying to pass the signin failure test.
This is the test code of the sessions_controller.rb
def create
user = User.authenticate(params[:session][:email],
params[:session][:password])
if user.nil?
flash.now[:error] = "Invalid email/password combination."
@title = "Sign in"
render
2013 Mar 16
3
Do you ALWAYS use "bundle exec rspec spec" tests?
I''m going through Michael Hartl''s Rails tutorial, and I am happy to report
that (as of the end of section 7) I''m able to get things working. (That
said, I skipped the section on automated testing, as Hartl warned that
automated testing is the most likely part of his book to become outdated.)
There is a heavy emphasis on the "bundle exec rspec spec" tests.
2012 Nov 07
12
Develop using Rails in offline mode
I''m very new to Rails and I''m quite confused if I can practice Rails in
offline mode?
I''m following the Ruby on Rails Tutorail by Michael Hartl and I noticed
that after generating a new app through the command "rails new app_name",
"bundle install" is then called to download the gems specified in the
Gemfile.
What if I don''t have an
2005 May 09
8
Connecting 20+ asterisk servers together
I have 20+ asterisk servers and need to network them together so a phone on
any of the servers can call a phone on any other server without any trouble.
I can think of IAX trunks between every server. So every server will have an
IAX trunk to every server and then prefix bases routing in the dialplan for
each server (I can give a number to each server and use that as a prefix for
that server).
2005 Oct 17
7
Ajax.MultiUpdater ?
Hi,
I''m using prototype within ruby on rails.
One limitation I''d like to overcome is the restriction of beeing able to
update just one html elements content using from_remote_tag or
link_to_remote.
AFAICS this is just a restriction of the form_remote_tag/link_to_remote
implementation and it''s underlying Ajax.Updater class. Right?
In theorie there should be no problem,
2004 Nov 23
3
3.0.9
Just a quick thanks to everyone involved with samba3 dev, I upgraded
last night from 3.0.7 to 3.0.9 and it went really smoothly - just had to
reset the permissions on /var/spool/samba so that people could print
again! (It seems to reset perms each upgrade, but at least I know this
now!).
We are running the following without any hassle:
Sage
Approch
Access
all ms office suite
openoffice
Outlook
2006 May 01
2
Rebuilding Raid 1
Trying a different approch.
Senario
Raid 1 setup
Bootable raid drive failed
Mirror has been working for almost a month and then rebooted
Now can't boot mirror drive grub not mirrored from other drive.
I Fixed bootable drive.
Question?
Can I hook up both drives and boot fixed drive then rebuilt mirror from
nonbootable drive to bootable drive?
Does the raid automatically rebuilt when I
2011 Nov 04
5
Beating the Top-Posting Dead Horse
On Fri, Nov 4, 2011 at 12:44, BeeRich <beerich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> As for top posting, that is an old school habit.
Er, no it isn''t. You young punks wouldn''t know old-school if it bit
you in the diapers! Now get off my lawn! ;-)
Seriously though, REAL old-school quoting is interleaved point by
point, with anything irrelevant trimmed
2013 Mar 18
10
Learning Rails - Advice for development environment
Hello,
I have been learning Rails for several weeks now. I am working through
Michael Hartl''s tutorial and other various things. My question is basically
regarding what type of environment to do my development in. First, some
background:
I have used different linux distros on and off throughout the years, so it
was easy and familiar for me to set up my desktop computer with Mint and
2007 Nov 08
2
centile reference chart / clildren growth chart - what package/method to use
We are constructing growth charts (age/weight and age/length) for children
with diagnosis that impacts weight/length.
But we we don't know how to use R for producing growth charts.
We are collection data of Age, Weight and Length.
The data are used to produce diagnosis-specific Growth charts (like the CDC
Growth Charts:
2011 Nov 12
4
No route matches [GET] "/microposts/304"
Hi all,
I''m learning Rails by Example (chapter 11), by Michael Hartl (
http://ruby.railstutorial.org/chapters/user-microposts#top) but I got no
route matches when I try to delete one micropost.
the _micropost html is...
<tr>
<td class="micropost">
<span class="content"><%= micropost.content %></span>
<span
2012 Feb 07
10
Ruby Developer position
Please let me know your interest in following.
Location: Columbia, SC
Duration: 12 months+
Rate: $65/hr 1099/c2c
Required Skills:
RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT ORAL AND WRITTEN
COMMUNICATION SKILLS, TEST-DRIVEN DEVELOPMENT, LINUX, OS X, JSON, COMMAND
LINE, SQL, SSH, HAML, SCSS
Thanks
Sandeep
Sandeep Jain
Software People Inc.
www.softwarepeople.us
2002 Feb 01
1
problem booting linux on intel scb2 ata board
hello again,
i've reported a problem with the intel scb2 ata board and syslinux a few
days ago.
now i've more details:
the scb2 ata board has an onboard promise raid controller.
when the option bios of this ide raid controller is disabled syslinux
works fine - but if the
option bios is enabled (which has to be if i want to boot form the
harddisk) the boot
of the fails (kernel version:
2002 Jan 22
1
problem with syslinux
hello,
i've a problem with syslinux on an intel sbc2 server board (other boards
are ok).
versions up to 1.48 work fine but from 1.49 there is a problem.
when booting linux the system hangs after the message:
Uncompressing Linux... Ok, booting kernel.
sometimes there that message isn't displayed and the system just hangs
with an empty
screen.
can you help me?
best regards
simon
2003 Apr 22
1
Setting SeServiceLogonRight ?
Hi everybody !
I want to authenticate a Exchange 5.5 Server against
Samba 2.2.8. But the Exchange Server says after using
a Samba account:
Cant start due to a logon failure:
"The User has not been granted the request logon type at this computer"
I tracked down the problem and i think that the
"SeServiceLogonRight" Privilege is not set by the Samba PDC thus not allowing an