*Job details mentioned below*
*Title: **Ruby on Rail Engineer*
*Location: **Washington, DC*
*Duration : Fulltime*
*ESSENTIAL FUNCTIONS AND BASIC DUTIES*
- Documents and demonstrates solutions by developing documentation,
flowcharts, layouts, diagrams, charts, code comments and cle
Hi everyone,
I am seeking a Senior Ruby Engineer and/or Team Lead to join our client in
Raleigh, NC.
This is a permanent opportunity.
Anyone really who has more than 2-3 years development in Ruby and some
senior dev experience would be interesting for our client.
They will assist with relocati
*Job Description*
Come join our Solution Street team! For the third consecutive year,
Solution Street was named by Inc. 5000 as one of fastest growing private
companies in America. Now is the time to join us on this exciting
adventure! Solution Street is seeking a talented, dedicated and exper
un
Brunch.all i get []
Thanks!
Sarah
Menu Controller:
before_filter :authenticate_admin!, :except => [:show]
def edit
@menu = Menu.find(params[:id])
@menu.dinners.build
@menu.lunches.build
@menu.brunches.build
end
Menu Model:
class Menu < ActiveRecord::Base
has_
How many people tweet in French who speak English?
> Person.select('DISTINCT
people.id').joins(:tweets).merge(Tweet.where(:language_id =>
3)).where(:language_id => 1).count
(0.8ms) SELECT COUNT(DISTINCT people.id) FROM "people" INNER JOIN
"tweets" ON "tweets"."person_id" = "people"."id" WHE
I must have posted that before I had enough coffee this morning. The
correct answer to "how many people tweet in french" is:
Person.select('DISTINCT
people.id').joins(:tweets).merge(Tweet.where(:language_id => 3)).count
via @ffu_
--
Posted via http://www.ruby-forum.com/.
--
You received this
Ok, I figured out "how many people tweet in french?" ... I was missing a
join:
> Person.joins(:tweets).where(:tweets => {:language_id => 'fr'}).count
(0.1ms) SELECT COUNT(*) FROM "people" INNER JOIN "tweets" ON
"tweets"."pe
rake db:test:prepare loads your schema.rb (or dbstructure.sql) into your
test database. I don't think that's the problem.
Looking at the stack trace, I would guess that you still have some
fixture files for tables that you have deleted.
Sarah
--
Posted via http://www.ruby
How many people with a first name beginning with A follow someone whose
first name begins with "S" ?
List all the tweets in in french that can be seen by french people (e.g.
where the person whose language is french follows someone who has a
tweet which is french)
Thanks in advance
I believe it is still ok to use RAILS_ENV as an environment variable
outside of Rails, but you want to use Rails.env in your code.
Sarah
http://www.ultrasaurus.com/
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "
Can i run the gem from netbeans?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send emai
Hey
I have installed a gem file in the command prompt, can someone tell me
how to put it into netbeans?
Thanks for any help
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this grou
I'm sorry but i am a bit computer illterate
and i am not sure how to proceed with these error messasges
Would reinstalling glassfish be worth trying?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" g
Hi, this is my first attempt at doing a ruby on rails project but i
can't even get started, i am trying to run glassfish 3 at the moment and
get this error code in the log file
from
#.run(C:/Users/xxx/Documents/NetBeansProjects/RailsApplication3/config/environment.rb:9)
from
(unkn
Thanks! Hassan for your reply/ help!
I have deleted that version of gem now.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.c
...Anyone?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk
Andy,
I have the same problem, trouble is i have never ever used command
prompt in my life ,and am wondering how do i select option two to
uninstall?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk"
When i uses this prompt "Gem uninstall i18n-0.5.0"
it renders this
"cannot uninstall, check gem list-diln8-0.5.0"
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, se
Does anyone know gow i can uninstall the second gem using command
prompt>?
I have tried 18 differnt prompts lol!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send ema
iate
Kindly refer some of your friends with the same skill. Your help would
be appreciated.
Please let me know if you would be interested. Call on 732-372-7051
or email your resume on sa...@larktechinc.com
Thanks,
Sarah
--
You received this message because you are subscribed to the Google Groups &
kill. Your help would
be appreciated.
Please let me know if you would be interested. Call on 732-372-7051
or email your resume on sa...@larktechinc.com
Thanks,
Sarah
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to th
Your help would
be appreciated.
Please let me know if you would be interested. Call on 732-372-7051
or email your resume on sa...@larktechinc.com
Thanks,
Sarah
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group,
Your help would
be appreciated.
Please let me know if you would be interested. Call on 732-372-7051
or email your resume on sa...@larktechinc.com
Thanks,
Sarah
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this gro
Hey!
I am looking for strong Ruby on Rails developers who are willing to
work at various clients in the NYC and Boston area. These are going
to be 6 month contracts. If you are at all interested please let me
know!
Sarah
--
You received this message because you are subscribed to the Google
.com/downloads/mysql/5.1.html#downloads, but I have
not installed anything else (outside of rails).
Thank you for any help you can offer!!
Sarah
database.yml:
# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql
# On Mac OS X:
# sudo gem install
If you meet the required criteria and are interested in the above
position please forward a Word version of your resume to Sarah Nguyen,
Technical Recruiter at sa...@trscontract.com. Due to the volume of
resumes only those candidates being considered will be contacted.
On behalf of our client in
Thanks for your help, Fred.
For future reference, I've written up a little cheat sheet with the
various curl commands to access the various default Rails XML APIs:
http://www.ultrasaurus.com/sarahblog/2009/06/simple-web-services-with-rails/
--
Posted via http://www.ruby-forum.com/.
--~--~---
Frederick Cheung wrote:
> I assume this is a typo and than in the real world you had remembered
> the closing . Having done that you need to get curl to set
> the content type appropriately.
Ah, so there must be a bug in my test. This works:
$ curl -X POST -d 'AwesomeThis is
an awesome project
required (even though I am doing that in cucumber,
just cuz it seems like the right thing to do)
Sarah
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk
Sarah Allen wrote:
> To test my assumptions, I repeated the above steps with "rails _2.0.2_
> scaffold_xml_202" to look at it in the old version of rails (minus the
> forgery bit which didn't used to be required.)
Note: in Rails 2.0.2 it does the exact same thing, so I mu
#x27;t used to be required.) I must be missing
something basic here. Can anyone enlighten me or point me to relevant
docs?
Thanks,
Sarah
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
ere. I'm also working on an open source a/v
recording/playback component and interested in making the Flash a/v
behavior a bit more accessible to Rails thru OpenLaszlo.
Are you still looking for something in this area?
Sarah
http://www.ultrasaurus.com
--
Posted via http:/
ller::Routing::Routes
>> rts.recognize_path("issues/new")
and it'll return the route that maps to it
This and other cool tips in a nice tutorial by Daryn Holmes:
http://darynholmes.wordpress.com/2008/03/15/beginners-tutorial-routing-
In ActiveRecord::Base, the save method takes a flag called
perform_validation, which you can set to false. Check your controller
code to make sure someone didn't decide to skip the validations
somewhere.
On Sat, Feb 28, 2009 at 4:39 PM, phil wrote:
>
> The odd thing is that the users were create
You could try making the default value nil. Makes more sense anyway -
nil indicates lack of data, while 0 suggests there is a default image.
On Thu, Feb 26, 2009 at 12:07 PM, Petan Cert
wrote:
> my default value for variable mainimage_id is 0. I am trying to apply
> really basic validation. If m
I'm not quite sure what you're after, but my guess is you want to
associate children and filtersetting objects. Have you set up an
association in the model files?
On Thu, Feb 26, 2009 at 2:04 AM, Swarna Priya
wrote:
> I have two models Child.rb and Filtersetting.rb I have written the code
> for
Generally, you want to put this sort of thing in a rake task (instead
of a script) and then your cron is just
cd /application_rails_directory; rake do_my_thing --RAILS_ENV=production
> On Wed, Feb 25, 2009 at 12:57 PM, Duane Morin
> wrote:
>>
>> I could swear I've seen instructions before on how
Couple of questions: first, what happens if you copy and paste the
insert SQL into your database and run it (i.e., are you sure the SQL
works on your db)? Second, what is in your log after the NoMethodError
message?
--~--~-~--~~~---~--~~
You received this message b
The only think I can think of is that you have a model variable named
@request, which is also, by default, the name of the HTTP request
object. There may be some weird overwriting going on.
Rename your model. It will save you huge headaches in the long run,
not least when trying to ask for help,
Check out the complex forms railscast.
http://railscasts.com/episodes/73-complex-forms-part-1
On Tue, Feb 24, 2009 at 11:22 PM, Nilesh Kulkarni
wrote:
> I am writing an application in which i have list of books fetching from
> data base,i am using textbox to display that data from database .ie
>
In a has_one/belongs_to association, I don't think you need the user=
method. What happens if you take it out completely?
On Tue, Feb 24, 2009 at 1:27 PM, Stefan Frede wrote:
>
> Hi!
>
> I've got a not so unfamiliar multiple models in one form problem. Due
> to the complex forms railscast I've g
You need to get the contact's errors from the contact. Try this out:
@request = Request.new(params[:request])
@request.contacts << contact = Contact.new(params[:contact]
if @request.save
# everything's fine
else
flash[:error] = @request.errors.full_messages
flash[:error] = @request.errors.full_messages.join(', ')
On Fri, Feb 20, 2009 at 2:05 AM, Sijo Kg
wrote:
> But here my problem is I expected
> 'Name should not be blank' 'email should not be blank'
>
> But what I got is
> contacts is invalid
>
> Why this Please hel
erb. Set up a boilerplate file and fill in what you need. It's MUCH
faster than trying to generate it with REXML.
On Mon, Feb 23, 2009 at 6:57 PM, Don French wrote:
>
> I have a mashup I need to d with a site that uses xmlrpc. I am trying
> to understand the the call method. I have the followin
I've found the easiest way to do this is to put hashed passwords in
the fixtures, i.e.
user_1:
id: 1
email: u...@mysite.com.test
password: ae135e826bbd76cf593d8db38c02ed2e134e159f #test
On Mon, Feb 23, 2009 at 1:52 PM, Michael J. I. Jackson
wrote:
>
> Hi all,
>
> I have a rake task that i
http://redmine.ruby-lang.org/issues/show/1080
http://redmine.ruby-lang.org/issues/show/1142
Ruby 1.8.7 is more stable.
On Mon, Feb 23, 2009 at 12:50 PM, Rick wrote:
>
> More info:
>
> In rails (2.3.0) generated test app
>
> 1) Ran script/server and default WEBrick started and functioned fine
>
I think your trouble here is with the polymorphic association. (Why do
you need it - is there another model that has_one or has_many
:internships :as => :employer?)
Try either removing :polymorphic => true if you don't need it, or
adding :as => :employer to the Employer's has_many :internships li
activemerchant requires activesupport >= 2.0.0, and that's being loaded ok.
Then some other gem is requiring activesupport 1.4.1, but since 2.1.0
is already loaded it can't load 1.4.1.
You should run gem cleanup to remove old versions of activesupport. If
that doesn't fix it, you'll need to loca
Create a single row in the user table to represent the anonymous user,
and associate the IP address with the edit instead of with the user.
That way you don't clutter your database with anonymous users but you
still retain the IP for each edit.
On Mon, Feb 23, 2009 at 8:00 AM, Daniel Choi wrote:
>@category = Category.find(params[:id])
>@services=Service.find(:all, :order => "XXX", :conditions =>
> ['category_id = ?', @category.id])
@category = Category.find(params[:id])
@category.services.sort! { |x, y| x.reduction <=> y.reduction }
--~--~-~--~~~-
For actual read-only data that is an instance of a model class, I'd
set up a class method instead. So for a default location, in
Location.rb,
def self.default_location
@@default_location ||= Location.find_by_name("San Francisco")
end
This fixes your migration problem, doesn't reload it with ev
, to just leave the 'gem'
> lines in your environment
> and keep the gem packages for the gems you need around. That way, the
> code will complain
> loudly if the gems needed aren't installed.
Hmmm... so it seems that 'gem' just declares that the code depends on a
ge
sallen/rails/vendor/gems/tzinfo-0.3.5/lib
/home/sallen/rails/vendor/gems/rmagick-1.15.8/lib
/home/sallen/rails/vendor/gems/uuidtools-1.0.2/lib
rake aborted!
Could not find RubyGem exifr (= 0.10.6)
(See full trace by running task with --trace)
$ ls vendor/gems/
exifr-0.10.6 rmagi
back to the original problem, namely: despite
the fact that the binary data is coming into the application, by the
time I'm in the controller I can't figure out how to access that data,
and am only managing to get this pseudo-image.
Is there anything else you can think of here?
Tha
_fu? It doesn't
know it is application/octet-stream because it doesn't respond to
content-type at the controller level.
Thanks,
Sarah
On Jan 15, 3:11 am, Peter De Berdt wrote:
> On 15 Jan 2009, at 03:48, sarah wrote:
>
> > I'm working on a rails app with a flash appli
TP_CONNECTION"=>"keep-
alive", "REQUEST_METHOD"=>"POST"}
2. A little later in read_multipart, I can see that the data has
arrived in the application/octet-stream format:
Content-Disposition: form-data; name="image_uploaded_data";
filename="
with the same name as the
> action.
yup. same behavior.
> If you leave the code in there as written, the #edit action will fetch
> the
> row from the Task database with the specified ID. The #edit view will
> then
> have some
byonrails.org/ ... I figured the behavior must be defined
in the super class, but I can't seem to find the code for it either.
Can someone point me in the right direction to illuminate this mystery?
Thanks in advance,
Sarah
http://www.ultrasaurus.com/code (where I'm keeping a
a mystery to me, but hope someone else
is helped.
sg.
Sarah Gray wrote:
> Hello,
>
> I wanted to chime in because I had a similar proble, Expected /
> .../app/controllers/application.rb to define Application. On production
> only. Rails 2.1.2, apache2, passenger. This thre
Hello,
I wanted to chime in because I had a similar proble, Expected /
.../app/controllers/application.rb to define Application. On production
only. Rails 2.1.2, apache2, passenger. This thread was helpful and I
found in my stack trace the noted const_missing, originating at line 90
in one o
60 matches
Mail list logo