I have worked with Kiprosh for than five years.
http://www.kiprosh.com
On Wednesday, 22 January 2014 04:51:08 UTC-5, Ruby-Forum.com User wrote:
Hi all, I looking for best company on Ruby on Rails Development in
India. Have any good companies in India please let me know.
--
Posted via
If you are a senior Ruby dev and are looking for remote work, I know of a
great job in Atlanta. (I am not a recruiter. I am also a Ruby dev.) Drop me
a line and I can make connections.
-- Martin
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
So you want to say The user can manage Realty if the agent has the right
agency ID or if the agent is nil?
If so, don't use the hash version of the condition. Go ahead and spell it
out.
You could also try agent: {agency_id: [nil, user.agency_id] )
--
You received this message because you
I highly recommend the RubyXL gem. It opens xlsx files and seems very
reliable. I use it all the time.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
before(:all) seems well-suited to this problem. It creates data that
persists across transactions.
https://www.relishapp.com/rspec/rspec-rails/docs/transactions
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this discussion on
Have you looked at resque-lock or resque-loner?
On Tuesday, 22 May 2012 08:28:48 UTC-4, Ruby-Forum.com User wrote:
I just searched through the Resque plugins available at
https://github.com/defunkt/resque/wiki/plugins but I can't find a plugin
that fit my needs.
--
Posted via
I am trying to use the Marginalia gem's :line parameter. It emits something,
but it seems to always say 'script/rails:6', as in...
/*application:Realvolve,controller:contacts,action:index,line:script/rails:6:in
`require'*/
This is at the top of application.rb:
require
http://ryandaigle.com/articles/2009/2/23/what-s-new-in-edge-rails-batched-find
http://apidock.com/rails/ActiveRecord/Batches/ClassMethods/find_in_batches
Note that this API is deprecated in Rails 3.
On Apr 9, 3:29 am, axelde...@gmail.com axelde...@gmail.com wrote:
Hello,
At
If you could use a tiny bit of JS in the form...
1. The new action: Render a form with the zip code and an empty list
of stores.
2. The create action: Form submits the zip code, but no store data.
Take the zip code, find the stores, and render the new action again,
this time with the list of
It sounds like you want an admin mode to do some setup before the app
goes live. If that's the case, why not have a special controller for
that purpose and some logic to redirect to that controller if the app
is in a nascent state? Seems like one of the wizard recipes could also
apply nicely here.
Use 3.0.5. Do not use 3.0.4.
On Mar 15, 7:11 am, shyam shyammohankano...@gmail.com wrote:
Hi all
I am going to start new project
so which rails 3 version should i go?
currently i am working on rails 3.0.3
should i go for higher versions?
like 3.0.5
etc
Thanks and regards,
Shyam
ruby
I use this often:
class Uuid
def self.uuid
return rand( 18446744073709551615 ).to_s( 36 ).rjust( 13, '0' )
end
end
See http://blog.locomotivellc.com/post/3277434038/unique-ids
On Mar 13, 4:45 am, Colin Law clan...@googlemail.com wrote:
On 12 March 2011 23:29, Conrad Taylor
The book Metaprogramming in Ruby teaches everything you need to know
about modules and more. Also, you might the book Eloquent Ruby a very
nice introduction to Ruby and its finer points. It's well-written and
dives into all facets (no pun intended) of Ruby.
--
You received this message because
I don't think it makes a true UUID, but I've run it into the billions
and never got a repeat. So, effectively, it acts like UUID.
--
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
Use the source, Luke.
On Mar 14, 8:02 am, Vipin Nagpal vipin@gmail.com wrote:
Hi, I have been given an exercise to write code for rails like
before_filter and after_filter in pure Ruby. And not surprisingly I
don't know how to do that. Please..
--
You received this message because you
Your associations are incorrect. Both Role and CriticalProcess refer
to each other via has_many -- one of them must use belongs_to. And
where is the Authorization class? What is it's relationship to
CriticalProcess?
Fix the associations problem and the loop will likely go away.
Why? I suspect
The preferred technique for Rails 3 is Data.where :name = 'abcd'
I agree with Bryan you should check your data. You may need to strip
the string of blanks before you save to the database.
On Mar 10, 2:10 pm, Bryan Crossland bacrossl...@gmail.com wrote:
On Thu, Mar 10, 2011 at 12:36 PM, Manny
Two ideas:
1. Create two unique database indices, one each for each pairing order
and catch the exception on save on create.
2. Do it manually.
errors.add(:base, 'already exists') if
(Klass.where(:sender_id = sender.id, :receiver_id = receiver.id) +
Klass.where(:sender_id = receiver.id,
How+do+I+write+a+Rails+3.1+engine+controller+test+in+rspec?
http://stackoverflow.com/q/5200654/73890
--
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
Is anyone seeing odd errors with 3.0.5? I am seeing odd behavior
between 3.0.3 and 3.0.5. Namely, this statement...
site.featured_medias.where(:media_type = media_class, :unfeatured_at
= nil).order(created_at desc).first
... works in 3.0.3, but produces this bad SQL in 3.0.5
Mysql::Error:
That code also works in 3.0.4, but does not in 3.0.5.
--
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 email to
Excellent catch. I extended my local list of unusual inflections in
config/initializers.
ActiveSupport::Inflector.inflections do |inflect|
inflect.irregular 'media', 'medias'
inflect.irregular 'missive', 'missives'
inflect.irregular 'criterion', 'criteria'
end
--
You received this message
I'd love to see/hear the approach to design and build an engine. How
can I use an engine to share code among like projects? Can I decompose
a larger project into engines? What are the considerations and
pitfalls? Mantras for design?
On Dec 30, 8:07 pm, Alpha Blue li...@ruby-forum.com wrote:
I cannot reach you. If you want to chat, you can ping me, since my
Jabber ID is associated with this message.
On Jul 29, 4:44 pm, Matt Jones al2o...@gmail.com wrote:
On Jul 27, 8:22 pm, Fearless Fool li...@ruby-forum.com wrote:
Craig White wrote:
On Wed, 2010-07-28 at 01:27 +0200,
You can revert to the sequential numbering scheme by setting
config.active_record.timestamped_migrations to false in config/
environment.rb.
--Martin
On Jul 30, 7:42 am, Ar Chron li...@ruby-forum.com wrote:
If you really must have your three digit migration numbers, then just
rename the file
You should also check out
Visualize Models
http://visualizemodels.rubyforge.org/#ba3e80f6c443b6cc58d7e04ff9e769df
and
Railroad
http://railroad.rubyforge.org/
On Jul 28, 11:39 am, Juan Pablo Genovese juanpgenov...@gmail.com
wrote:
Jetbrains RubyMine IDE can do that.
Sateesh Kambhamapati
I am trying to generate a path for a route with requirements. The
route looks like this...
map.courses_image_cache '/courses/image_cache',
:controller = 'courses', :action = 'image_cache',
:requirements = {
:cache_id = /\d{8}-\d{4}-\d{5}-\d{4}/,
:filename = /[a-zA-Z0-9_
You are absolutely right.
On Jan 11, 1:01 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Martin Streicher wrote:
I am trying to generate a path for a route with requirements. The
route looks like this...
map.courses_image_cache '/courses/image_cache',
:controller = 'courses
I had this same issue with an older project but not with a new
project, so I copied the newer database.yml file to the older project,
renamed the database in the file, and then things worked. My new entry
looks like this:
development:
adapter: mysql
encoding: utf8
reconnect: false
Has anyone built ruby-debug for Ruby 1.9.1? I am on Leopard. A check
around the Web yielded issues with the pair, but no solution (I'll
keep looking), hence my question.
Martin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Archive all versions of your model.
http://www.linux-mag.com/id/7528
Thanks for reading.
Martin
--~--~-~--~~~---~--~~
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
A new company, Typekit, is a font service provider. Your Web pages
need not be drab anymore -- and its compatible with major browsers.
http://www.linux-mag.com/id/7501
Martin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I have written a short tutorial on using Hijack to debug running Ruby
processes, including Rails applications. The article is available now
at http://www.linux-mag.com/id/7492.
Enjoy!
Martin
--~--~-~--~~~---~--~~
You received this message because you are
I am attempting to get the Hijack gem to work on Leopard. It installs
and runs, but it does not seem to breakpoint the Ruby process I
choose. I am pretty sure I am not using it correctly. Does anyone have
it up and running? What did/do you do to get to the debug prompt?
Signal? Press a
I am writing five blog posts about the goodies that have appeared in
Edge Rails over the last few months. Two columns were posted at the
end of last week. Three more will appear next week. You may have read
about some or all of the things in the posts, but perhaps the examples
Most modern crontab specifications support a @reboot meta-schedule.
A job tagged
@reboot /usr/bin/ruby /path/to/your/script.rb run
would run whenever the machine restarted.
On Jun 23, 7:47 pm, serenobs seren...@gmail.com wrote:
Hi
I'm using passenger + apache.
with this combination, how
I've written an article on Github's new Rip package manager. You can
find it online at http://www.linux-mag.com/id/7381/
Martin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
Screen is valuable because you can start a session and then detach for
any period of time and then resume.
I've written about screen here:
http://www.ibm.com/developerworks/aix/library/au-gnu_screen/
On May 27, 12:35 pm, Philip Hallstrom phi...@pjkh.com wrote:
I hear a lot say GNU Screen is
I've written an article on how to use Mat Brown's Sunspot gem with
Ruby and with Rails. Sunspot is an easy way to add Solr (and thus
Lucene) to any application.
http://www.linux-mag.com/id/7341
Martin
--~--~-~--~~~---~--~~
You received this message because
My introduction to Gearman with Ruby is now available on Linux
Magazine at http://www.linux-mag.com/id/7330.
My thanks to Andy Triggs, Eric Day, and the folks in the #gearman IRC
channel who answered my questions. I am very anxious to see the next
release of Gearman, which Eric intends to
I've written an article on micro-frameworks, featuring Sinatra for
Ruby and Limonade for PHP. You can read the story online at
http://www.linux-mag.com/id/7324
.
I also wrote an intro to the Ruby debugger and how to use it in Rails.
You can find it online at
Michael Flynn got in touch and was issued a refund.
--~--~-~--~~~---~--~~
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
I am just getting started and hope to draw in a lot of smart, expert
contributors. Print on-demand will be handled by an online service
such as MagCloud. Ads will be managed internally, as well
subscriptions, at least at first.
There will be a suite of technical reviewers to vet content. Again,
Streicher
martin.streic...@gmail.com wrote:
2 April 2009
My name is Martin Streicher. I am pleased to announce three new
publications dedicated to web developers.
Red: The Journal of Ruby Development
Facade: The Journal of Front-end Development
Tabula: The Journal of Open Source
I went back to my records. These folks are owed $60 each. Hopefully,
each person continues to read this forum; or, perhaps a friend or
coworker will recognize one of the names and ask the individual to
contact me. I can try some googling, too.
David Alexander
Muness Alrubaie
Mark Andrews
Peter
I was Editor-in-Chief of Linux Magazine from 2002-2007. I've joined
forces with LM again to lead the magazine's coverage of Web
technologies, including writing my own column. Since I've been working
in Rails a bunch, much of the column will focus on Rails, gems, and
plug-ins.
I had a short
Should be no problem. You can add an attribute to @version and it will
be emitted when you render.
Try it in the console.
@version = Version.find(...)
@version['path'] = 'somestring'
@version.to_xml
--~--~-~--~~~---~--~~
You received this message because you are
I am authoring an article for Amazon Cloudfront. Are there recommended
techniques for working with content delivery networks in Rails?
I have seen and used ActionController::Base.asset_host and am aware of
the date parameter that Rails can attach to each static image to
reflect its last
You can concat anything you want into the subject.
The issue you have is with the last argument in your expression. You
need to process it a little more to get it to a string. Specifically,
you need to format the time string.
On Feb 19, 3:11 pm, Alexander Annese alexann...@gmail.com wrote:
Has anyone found a Ruby library to implement RFC-1734, the POP3 AUTH
command? (I cannot be certain tyet, but it seems that POP3 AUTH is
also supported as AUTH in IMAP4.) Chilkat seemingly offers a solution,
albeit Windows only. Any open source stuff?
Martin
50 matches
Mail list logo