I am looking for a full time developer/coder for a new software
business.
*The business is based in London United Kingdom*
- They will be required to come to meetings and speak with partners
IT
departments
- In an ideal world they would have worked with or for a retailer in
the past.
- We are
When I inspect the session hash, it shows me lots of entries that I
have assigned a nil value to at some point. Is that taking up a lot of
space?
What is a good way to get rid of these useless entries?
I am generally trying to reduce the size of my session hash. Is there
a note with tips about th
ratnadeepdeshm...@gmail.com wrote in post #979552:
> hey,
> i would suggest two checks -
> -check of published date column to be of the type datetime.
> - check your log files for parameters beimg sent after submitting new
> book form. in your case date shpuld be sent as book[published_date]
>
> i
gem install mysql, maybe you forget it.
On Fri, Feb 4, 2011 at 12:48 PM, Vijay Ra wrote:
> Hello,
> I am new in ror
> I create new application and
> i try to connect mysql using rake db:migrate it showing attached error
> i am using xampp for mysql
> also my database.yml settigs are as follows
On Feb 4, 1:36 am, Mohnish G j wrote:
> Frederick Cheung wrote in post #979492:
>
> > On Feb 3, 4:36pm, Mohnish G j wrote:
>
> >> The roadblock I am facing is how to call the `$F('publishing_date')` in
> >> my new.html.erb file using the rails `<%=>` tag and then assign that to
> >> my :publish
hi...
I m newbie in RoR and working on rails 3.
Actually i m using tiny_mce plugin in my application and following the steps
mentioned in this link https://github.com/kete/tiny_mce,
No doubt this is working absolutely fine in application but the other Jquery
applied to the application is not worki
Thank you very much
I put space inbetween and its workig
again thanx
ratnadeepdeshm...@gmail.com wrote in post #979555:
> yml files are very strick about spaces and tabs. Make sure you have
> space
> inbetween password: and mypassword. Right now it doesn't seems to be
> there.
>
> On Fri, Feb 4
yml files are very strick about spaces and tabs. Make sure you have space
inbetween password: and mypassword. Right now it doesn't seems to be there.
On Fri, Feb 4, 2011 at 11:18 AM, Vijay Ra wrote:
> Hello,
> I am new in ror
> I create new application and
> i try to connect mysql using rake db
Hello,
I am new in ror
I create new application and
i try to connect mysql using rake db:migrate it showing attached error
i am using xampp for mysql
also my database.yml settigs are as follows
===
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: mydia
Mario Gr wrote in post #979538:
> I have to update 80 pages' compliance terms on our clients existing CMS
> system. I can't do this on the back end, and it's a tedious task I'm
> looking to automate.
>
Try mechanize see if its is helpful
https://github.com/tenderlove/mechanize
Amar Daxini
http://
hey,
i would suggest two checks -
-check of published date column to be of the type datetime.
- check your log files for parameters beimg sent after submitting new
book form. in your case date shpuld be sent as book[published_date]
i am sure second check should help.
On Friday, February 4, 2011,
Hi,
I am communicating with salesforce from my ROR app and it works fine
with standard fields. But while accessing any custom field of
standard/custom object of salesforce, I am getting below error:
undefined method `VisitDate' for #
Here VisitDate is custom field and VisitorReport is custom obj
which rmagick gem configured with imagemagick6.6.7.4-Q8
please reply...m not getting in google
--
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-ta
On Thu, Feb 3, 2011 at 6:29 PM, Paul Bergstrom wrote:
> Where do I set
>
> Encoding.default_external = 'UTF-8'
>
> in Rails 2.3.8?
>
> Can I add it to the environment.rb? Where?
>
This is probably entirely wrong for what you want, but today I had a little
adventure with a certain non-ascii chara
I have to update 80 pages' compliance terms on our clients existing CMS
system. I can't do this on the back end, and it's a tedious task I'm
looking to automate.
These are all in an admin panel, so I am trying to find a library that
could at least maintain a session and simulate browser interactio
Multi process is automatic with any java app server and does not require
any configuration.
As to benchmarks for which java app server is faster I do not know
off-hand.
We have several cloud deployed load balanced apps running on Trinidad,
which
is based on Tomcat. Trinidad is the present jruby
Frederick Cheung wrote in post #979492:
> On Feb 3, 4:36pm, Mohnish G j wrote:
>
>>
>> The roadblock I am facing is how to call the `$F('publishing_date')` in
>> my new.html.erb file using the rails `<%=>` tag and then assign that to
>> my :publishing_date symbol which will eventually be use to up
Thx, I used this library, in case anyone else is interested:
http://flowplayer.org/tools/tooltip/index.html
--
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 unsubsc
Where do I set
Encoding.default_external = 'UTF-8'
in Rails 2.3.8?
Can I add it to the environment.rb? Where?
--
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
i think changing the form_tag to
form_tag {:controller => 'mains', :action => 'search', :format => :js},
:remote => true do
should work. The brackets are there to separate the url_for options with the
html_options.
On Thu, Feb 3, 2011 at 5:10 PM, Matthias S. wrote:
> Hi,
>
> I am using Rails 3
> I'm using Rails 3, Formtastic an Jquery. I would like to display a
> "floating" note when an input field gets focus.
>
> A good example is when trying to submit a story on digg when you are
> not logged in. What is the best way to do this?
Search google for "jquery tooltip plugin". Lots of opt
I'm using Rails 3, Formtastic an Jquery. I would like to display a
"floating" note when an input field gets focus.
A good example is when trying to submit a story on digg when you are
not logged in. What is the best way to do this?
--
You received this message because you are subscribed to the G
Markus Proske wrote in post #979510:
> Is there a way to tell Rails to ignore attr_accessible when seeding the
> database and to allow mass assignment with create or new?
> I know how to skip validations but do not find anything on mass
> assignment...
Here's one way I found a quick Google search:
Is there a way to tell Rails to ignore attr_accessible when seeding the
database and to allow mass assignment with create or new?
I know how to skip validations but do not find anything on mass
assignment...
--
You received this message because you are subscribed to the Google Groups "Ruby
on
Installing latest IM. Hopefully that will solve it.
--
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 th
Tried 'gem install rmagick'
Got
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for cc... yes
checking for Magick-config...
benchmarks - multi-process configuration / multi-interpreter setup / and
where the community is with respect to jetty/netty/trinidad etc.
On Thu, Feb 3, 2011 at 8:53 AM, Deon Silva wrote:
> Yes. What specific info are you looking for.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You
Curtis wrote in post #979429:
> On Feb 3, 2011, at 2:57 AM, Albert Catal wrote:
>
>>>
>> super("ERROR>"+msg)
>> end
>> end
>>
>> this is in a file.rb in config/initializers/
>>
>> and raises the error I said
>>
>
>
>
> Did you read my other response about class methods?
Yes but
amritpal pathak wrote in post #979374:
> I am new to Ruby on Rails and number of times interacted with rake and
> gem.
> Can anyone explain what is Rake and Gem in RoR?
Rake is like "make" for Ruby. It's basically a task runner that can
manage dependencies between tasks.
RubyGems (gem) is a Ruby
On Feb 3, 4:36 pm, Mohnish G j wrote:
> An interesting excerpt from the aforementioned tutorial link is given
> below:
>
> The value of the selected date can be accessed by getting the value
> of the text field named calendar.
>
> Using the Prototype Javascript Library, you can do the f
Hi
I'm using Mongoid and Rails 3, and I want to serialize one of my
mongoid documents to json for publishing via a controller, e.g.
class ReportController < ApplicationController
respond_to :json
def show
report = Report.where(:report_id => params[:id]).first
respond_with
just got stung by this too
the problem is that after_commit callback is called, well, after the
save transaction gets commited :D, which actually never happens in rspec
if you have transactional fixtures on
config.use_transactional_fixtures = true
haven't found a good solution yet
--
Posted vi
Hello,
I wanted to let you folks know that MongoDB is having a track at
PostgreSQL Conference East and is currently looking for people to speak.
The deadline is the 10th, so if you are interested now is the time!
http://www.postgresqlconference.org/
Joshua D. Drake
--
PostgreSQL.org Major Contr
On Thu, Feb 3, 2011 at 9:57 AM, Tiesto wrote:
> I've upload an application to site5 hosting, I've configured as it
> should be, but when I try to access I get the following error:
> Ruby on Rails application could not be started
/
> Further information about the error may have been written to th
Hola!
I've upload an application to site5 hosting, I've configured as it
should be, but when I try to access I get the following error:
Ruby on Rails application could not be started
These are the possible causes:
*
There may be a syntax error in the application's code. Please
check
which plugins is suitable for state - regions select and date
picker , i tried geography_select plugins but not running
please reply thanks ...
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email
Yes. What specific info are you looking for.
--
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 grou
I have:
Customer
has_many :deliveries
has_one :document
Document
belongs_to :customer
Delivery
belongs_to :customer
route.rb has:
resources :customers do
resources :deliveries
end
I already have customers in the database, I only have to add
deliveries and document to one cust
Hi,
I am currently using Rails 2.0.2 with Ruby 1.8.7. My Prototoype.js
version is 1.7(if required). I am basically trying to integrate the
calendar_date_select plugin in my app.
The link/tutorial I am referring is:
http://ianli.com/site/HowTo/UseCalendarDateSelectRailsPlugin
I am trying to save
Has anyone got any experience with Moonshado for SMS?
Pricing looks good and integration with Heroku I'm guessing will be easy . . .
http://addons.heroku.com/moonshadosms
Thoughts? I'm comparing to Twlio which is what I would have otherwise gone with
. . .
Best Wishes,
Peter
On Feb 3, 2011, a
On Feb 3, 2011, at 2:57 AM, Albert Català wrote:
Curtis j Schofield wrote in post #979342:
2011/2/1 Albert Catal :
super(args)
end
def error(msg)
#also - this may give you an error
# i remember this as
msg = %%ERROR#{'-'*5}>#{msg}%
super
raises an error: [super: no superclass method
there is a post there about my problem:
http://blog.segment7.net/2011/01/31/rubygems-1-5
---
RubyGems 1.5.0 seems to force use of the psych yaml parser if you
have it in your system. If you are having trouble parsing some yaml
files, or if you have yaml files which use merge
I was wondering if anyone might help me with a peculiar problem. We
are having a problem with our network that is resulting in, say, UserA
getting UserB's response, resulting in his session cookie being reset
and two users sharing the same session, UserB's. Not good I know.
Question: Why does Ra
More details
http://stackoverflow.com/questions/4875188/roo-gem-xlsx-files-performance-problems/4887273#4887273
On Feb 2, 2:02 pm, Alvaro Gonzalez wrote:
> I am getting unacceptable performace problems by using the roo gem for
> reading a file by using XLSX or XLS library from this gem.
>
> Som
Heroku has an SMS add-on, bit haven't used it myself
Sent from my iPhone
On Feb 3, 2011, at 3:04 PM, Sankalp wrote:
> Can anyone tell me which plugin integrates SMS with rails 3?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
If they need to come to meetings, it might be worth clarifying where your
business (or more importantly, where the meetings) are based.
It's up to you, but I also usually give a ballpark rate if I'm looking for
someone so the $125/hr devs don't waste their time on a $40/hr opportunity and
so I
I totally agree with Peter, you should implement cucumber tests at
first, and then if you'll still have some time, you should implement
RSpec tests also.
The Rspec book isn't so big, I read it twice completely and 3 time
more some single chapters, it's really a great book, don't miss the
chapters w
Rake is a build system. Gems are packages of reusable ruby functionality so Gem
is a package manager for providing easy access to the gems.
Best Wishes,
Peter
On Feb 3, 2011, at 6:04 AM, amritpal pathak wrote:
> I am new to Ruby on Rails and number of times interacted with rake and gem.
> Can
WHich provider do you want to use? A google search brings up gems for
Clickatell (http://clickatell.rubyforge.org/) and textmagic
(http://tuzinsky.com/textmagic/). I've heard of Clickatell but not used them.
Haven't come across textmagic.
I'm about to do a project using Twilio which seems to ha
I'd start with cucumber and capybara to verify key stories. That way you at
least have smoke tests for going through the system. If you have time after
that, put in some lower level rspec tests - mainly around areas of complexity.
Then every time you add a feature, change a piece of code or get
Hi everybody!
I'm upgrading a Rails 2.3.5 app to Rails 3.0.3. But my integration tests
aren't working. I'm getting this error:
NoMethodError: undefined method `content_type' for nil:NilClass
The line to blame is
assert_select "input#artist.title.unsolved", 1
My test_helper.rb for webrat looks
On 3 February 2011 08:53, lorbrito wrote:
> models
>
> class Restaurant < ActiveRecord::Base
> self.table_name = "restaurants"
> self.primary_key = "idrestaurant"
> #SELECT `comidas`.* FROM `comidas` WHERE (`comidas`.restaurant_id =
> 2)
> has_many :comidas, :foreign_key
> =>"idrestaurant" ,:p
Matt, I've never seen that kind of error 'alternative_url' before and
there is no reference pages on google.
Simply I guess that the error is saying there is no method
'alternative_url'. Is that method you code yourself?
On Thu, Feb 3, 2011 at 9:51 PM, Colin Law wrote:
> On 3 February 2011 12:42
On Feb 3, 11:04 am, amritpal pathak wrote:
> I am new to Ruby on Rails and number of times interacted with rake and gem.
> Can anyone explain what is Rake and Gem in RoR?
>
The docs describe rake as 'a simple ruby build program with
capabilities similar to make', although it's used for more tha
Hello,
SiliconIndia is organizing WebApps 2011 at Pune on Feb 26th,
2011.Drawing well-renowned thought-leaders, contributors,
influencer's, and organizations in the Web Development space, the
conference offers insight to develop industry-leading Web Development
projects. The conference brings tog
I am new to Ruby on Rails and number of times interacted with rake and gem.
Can anyone explain what is Rake and Gem in RoR?
Thanks
--
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@goog
I am looking for a full time developer/coder for a new software
business.
- They will be required to come to meetings and speak with partners IT
departments
- In an ideal world they would have worked with or for a retailer in
the past.
- We are looking for someone to develop an RoR application t
models
class Restaurant < ActiveRecord::Base
self.table_name = "restaurants"
self.primary_key = "idrestaurant"
#SELECT `comidas`.* FROM `comidas` WHERE (`comidas`.restaurant_id =
2)
has_many :comidas, :foreign_key
=>"idrestaurant" ,:primary_key=>'idrestaurant'
has_many :comentarios ,:for
I've sent mail to Heroku. Response:
---
david, Feb-02 08:46 am (PST):
Hey there,
We had a small bug in our invoicing system this month that caused
invoices to be sent out when there was nothing to charge. If you
received an invoice for $0, you can safely ignore it. You may have
also received dupl
Can anyone tell me which plugin integrates SMS with rails 3?
--
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
rubyonrail
On 3 February 2011 12:42, Matt Guy wrote:
> Dear board, I am running a fork of a quite large Rails 2.3.5 app (lots
> of plugins etc.). It has worked before and I know it works on my
> colleague's machine. I'm not sure where to begin troubleshooting this
> though (I can't find much good Rails trou
Dear board, I am running a fork of a quite large Rails 2.3.5 app (lots
of plugins etc.). It has worked before and I know it works on my
colleague's machine. I'm not sure where to begin troubleshooting this
though (I can't find much good Rails troubleshooting material
anywhere!). Can anyone help? T
Thanks Konstantin ... you just confirmed what I finally found looking
into lib/active_model/naming.rb
=> options.reverse_merge! :scope =>
[@klass.i18n_scope, :models], :count => 1, :default => defaults
so I modified my locale files , and I was coming back here to mention
it... and read your
On Feb 3, 10:57 am, Albert Català wrote:
> Curtis j Schofield wrote in post #979342:> 2011/2/1 Albert Catal
> :
> >> super(args)
> >> end
> >> def error(msg)
>
> > #also - this may give you an error
> > # i remember this as
> > msg = %%ERROR#{'-'*5}>#{msg}%
> > super
>
> >> raises an err
On 3 February 2011 10:55, Prabu Jayaraman wrote:
> In the frontend ,i have a text box which accepts program id .If we gives
> value in that , it will get stored in sql database, but before storing
> i want to check whether the program id is exist in database. If exist
> then we
> instruct the use
mongoid:
models:
profile: Profile
model should be in plural form.
On Thu, Feb 3, 2011 at 3:53 PM, Erwin wrote:
> I am using ActiveModel::Translation, it's working fine for attributes,
> but I cannot get the Model name translated
>
> in the console I get ..
>
> >Profile.i18n_scope =
Well it would seem to be a configuration problem with SQL Server and
not the ruby code as such.
My SQL Server experience is out of date but the error message seems to
be coming from the ODBC driver so I would guess that the dbi package
is working ok. Do you actually have a database called "TESTDB"
Curtis j Schofield wrote in post #979342:
> 2011/2/1 Albert Catal :
>>super(args)
>> end
>> def error(msg)
>
> #also - this may give you an error
> # i remember this as
> msg = %%ERROR#{'-'*5}>#{msg}%
> super
>
>> raises an error: [super: no superclass method `error' for
>>
>>
>>
What I did
In the frontend ,i have a text box which accepts program id .If we gives
value in that , it will get stored in sql database, but before storing
i want to check whether the program id is exist in database. If exist
then we
instruct the user to give another program id. If not then ok to insert.
how
An error occurred
Error code:
Error Message:IM002(0)[Microsoft][ODBC Driver Manager]
data source name not found and no default driver specified
On Wed, Feb 2, 2011 at 8:04 PM, Peter Hickman <
peterhickman...@googlemail.com> wrote:
> It would be useful if you posted the error messages.
>
> --
> Yo
I am using ActiveModel::Translation, it's working fine for attributes,
but I cannot get the Model name translated
in the console I get ..
>Profile.i18n_scope => :mongoid ( I am using Mongodb)
>I18n.locale => :en
>Profile.human_attribute_name("first_name") => "First Name"
>Profile.model_nam
Hello everyone,
I'm attempting to get starling and workling set up on my system, and
have been trying to closely follow the instruction listed in this
railscast:
http://media.railscasts.com/videos/128_starling_and_workling.mov
However, I've found a problem that I can't seem to solve on my own, an
On 2 February 2011 03:15, slava wrote:
> I know I can set default_scope for individual active record model, but
> can I set one up for the whole application?
I guess you could derive a class from ActiveRecord::Base and put the
default scope in there, then derive your models from that. I have not
On 2 February 2011 22:04, Chris Gallagher wrote:
> Sure did:
Sure did what? Please quote the previous post so each message makes sense.
>
>
> class User < ActiveRecord::Base
>
> has_many :user_mailboxes
> belongs_to :other_user, :class_name => "UserMailbox"
That does not look right.
> end
Hi
I have a rails application with no tests.
I decided early not to use a TDD or to have any automatic tests as I
am the only develope, as I tested it manually and as I thought many of
the proposed test procedures could be substituted by just looking at
the code.
However I was wrong. When th
Don Mapp wrote in post #955952:
> I am trying to do a search using an ajax call via a form_tag with
> remote => true, a text_field_tag and a submit tag. The form_tag is
> reaching the controller, but not as an ajax call. I am receiving a 406
> Not acceptable error, which I believe is to do with the
On 1 February 2011 20:50, Tsega wrote:
> Hey there Amador,
>
> I must confess, I am not a rails guru here but, according to the
> documentation I have, the part that reads
>
> <%= f.select('entry', 'type_id', EntryType.all.collect {|t| [t.description,
> t.id]}, {:include_blanks => 'None'}) %>
>
>
Hi,
I am using Rails 3.0.3 with jQuery ujs.
I want to send a form remotely. The view template
**mains/index.html.erb** containing the form looks as follows:
...
<%= form_tag :remote => true, :controller => "mains", :action =>
"search", :format => :js do %>
<%= label_tag(:location_start, "Lo
On 1 February 2011 20:20, Amador Antonio Cuenca wrote:
> I tried to do it by myself,
> I've a model named Entry with a field named type_id (added via migration)
> and a model named EntryType with a field named description.
>>
>> class Entry < ActiveRecord::Base
>>
>> belongs_to :entry_type
The
Thank you for all your support to guide me.
--
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
80 matches
Mail list logo