Displaying 20 results from an estimated 1000 matches similar to: "Beating the Top-Posting Dead Horse"
2010 Oct 13
3
using pg on snow leopard
I have a macbook running snow leopard. I recently installed postgresql
9.0 on it. I also installed pg with the following command:
sudo env ARCHFLAGS=''-arch x86_64'' gem install pg
The result was fine:
Building native extensions. This could take a while...
Successfully installed pg-0.9.0
1 gem installed
Installing ri documentation for pg-0.9.0...
Installing RDoc documentation
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
2013 Oct 20
3
Looking for RoR friends
This is quiet off topic but I am looking for friends from this group. Reply
me :)
--
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 to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
2012 Sep 17
5
Biometrics fingerprint scanner in RoR? Is it possible? and how?
I''m a graduating student of IT right now and in a couple of months, we''ll
be starting on a new project in the University. My group and I decided to
create a voting system which requires Fingerprint scanner to identify the
voters and make the voting process more secured. I still don''t know how
biometrics fingerprint scanner works exactly and I''ve just started
2013 Sep 15
1
Why does Rails convert scopes to downcase
I found a strange behavior in Rails 4 with scopes when I use postgres.
I have a Object with saleStartDate and saleEndDate attributes.
scope :active, -> { where(isActivate: true) }
> scope :activeDate, -> { active.where("? BETWEEN saleStartDate AND
> saleEndDate", Date.today)}
When I use sqlite, all works when I want to get the object with the
activeDate scope.
When
2014 Mar 19
1
Beating a dead horse
Sorry to do this .... AGAIN
Every year or two I get stuck on this same problem involving
excluding.
Seems I learn how its done then 2yrs later I've totally forgotten and
when I look up my notes ... this new need is just different enough
that they don't apply.
Here's the problem. (Simplified... and I've skipped some of the
repetitive output)
On remote
ls A/
a/ b/ c/ d e
on
2007 May 20
1
beating a dead horse - proper association selection
okay... i have two models
employee
- id
- username
order
- id
- number
- created_by
- approved_by
now created_by and approved_by are both id''s of employees. in most
cases, two different employees.
currently i do something like
//controller
@open_orders = Order.open_orders
//model
def self.open_orders
find(:all, :conditions => [''is_open = ?'', true],
2004 Nov 11
1
Beating a dead horse - Roaming profiles / logon scripts
Using samba 3.0.8 and Suse ES 9.0 I'm having problems getting roaming
profiles/local profiles and logon scripts on a Win2k or WinXP workstation
working correctly. My bdc is supposed to be doing the authentication
against my PDC\LDAP server. Even when I enable Only allow local profiles
on the XP machine it will logout a domain samba user with a sorry no
roaming or local profile available
2012 Apr 02
10
Pessimistic locking locks the entire table?
Hi guys,
I must be missing something obvious with pessimistic locking. Here is
what I do (Rails 2.3, mySQL):
In my Foo model:
def test
Foo.transaction do
lock = UpdateLockForFoo.find_by_foo_id(self.id, :lock => true)
sleep 30
end
end
For each Foo model, I have an UpdateLockForFoo. This "lock" needs to
be acquired before doing any changes to Foo.
I believe it works,
2013 Oct 07
3
Get current url
Hi friends,
i need current url in rails environment file.
i can get current url in conroller by the below command.
request.env[''HTTP_HOST'']
and now i want get current url in environment.rb file or intializer folder
files
Regards,
Daya.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from
2013 Feb 04
3
kill webrick process on OSX Lion {localhost:3000}
Hi Folks,
I have a simple question
When I have to stop the webrick server on my OSX Lion I use the follow
keyboard button:
Ctrl + Z
but after that I launch the command: "ps"
the webrick server is always active I have to kill the process with:
kill -9 [ID PROCESS]
exist a command to kill instantly the webrick server?
thanks,
C
--
Posted via http://www.ruby-forum.com/.
--
You
2012 Jun 01
4
Is there a ftp crawler in ruby on rails?
Hi,
I''m a newbie to ROR. I wanted to write some code which can help me to
list and then index all the paths on a remote server. Is there a ftp
server crawler in ruby?
Thanks,
Narayana
--
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
2012 Jul 25
3
rails scope without raw sql
Hi, I''ve been stung when deploying a rails app to heroku, and I''m fairly
confident the problem is the difference between my local db sqlite3, and
the heroku standard free shared db which is postgres(i think).
I have a scope in my model that looks like this
scope :not_archived, :conditions => [''application_state != "archived"'']
The idea is I want
2012 Apr 23
4
Multiple regex match in the same line
Hi,
Could somebody please show me a way to find, and display multiple
regex matches in the same line?
Like this:
test_string = "I shot the Sherrif but I didn''t shot the Deputy."
# The word I would like to find is the "shot" and displayed like
"shotshot" or like each match could go into a new #line like:
"shot"
"shot"
# Some ways I
2011 Nov 02
1
current deployment options
- Have been away from RoR development for a couple of years.
- Will be doing a new project soon, starting with RoR 3.1.
- This site will be hosted on a dedicated user-controlled server inside their intranet, so this question is not about hosting services.
- Expect about 100,000 page views a day, with a bit more spikiness than normal around some shift changes, so provisioning as if for 500,000
2013 Jan 29
2
Count entries in postgresql grouped by date
Hi!
I have a table with visits with a visited_at: attribute which is a datetime
field. They seem to be stored as UTC. Now I want to count all visits each
day and return something like:
{
2013-01-01: 8,
2013-01-02: 4,
2013-01-07: 9,
...
}
So, I did it like this which kind of works...:
def self.total_grouped_by_day(start_date, end_date)
visits = where(visited_at:
2006 Jul 05
8
Beating the authentication horse (dead yet?)
Guys,
I''m frankly overwhelmed by the number of Rails authentication options(?)
out there...from ActiveRBAC to acts_as_authenticated to LoginEngine and
so on...so many options, yet on resource I''ve found really distinguishes
between each.
This is sad, as authentication and user management is really an area
where some Rails simplicity pixie dust could be a real boon to
2012 Jun 13
7
Cmd line interface for ruby on rails app
Hi,
I have a rails app running which provides an interface to create/update
data stored in a DB. How do i develop a cmd line interface to do the
same i.e i should be able to retrieve/update data to a DB.
--
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
2011 Oct 25
6
Date formats
Just realized I have a nice problem.
using Postgresql...
When I save something via Rails to the table it''s saved with a GMT
offset (so 12:00 becomes 16:00)
But the database is configured to save everything as GMT.
Which means -- when I query it via SQL it''s coming back as now + 4
hours instead of just plain now.
Where/How do I get this back in sync?
--
You received this
2011 Aug 16
8
0.0.0.0:300 --> this web page isnot availabe
hi all,
I''m very new to ruby on rails. and i have a problem while trying to run
my first application.
i''m created a rails application and controller called say conains action
called hello and put some html code in
app--view--say--say.rhtml
and when i run 0.0.0.0:3000/say/hello i get this message "this webpage
isn''t available"
and also tried to remove "