Hi; I am interested in the position.
On Tue, Jan 7, 2020 at 12:40 AM Emanuele Tozzato wrote:
>
>- AINZ Corp. is a boutique software development, R and consultancy
>company focused exclusively on software (LIMS) for laboratories that engage
>in cannabis testing;
>- We are looking
keep running into this error when i run my rails server... any ideas
--
_
_
_CONFIDENTIAL NOTICE: This message (and its attachments) may contain
confidential information. Any unauthorized use or disclosure is prohibited.
If you have received this communication in error, please notify us
[image: Notch8_Color.png]
Job Opening: Site Reliability Engineer / DevOps Developer
Notch8 Web and Mobile Application Developers
Notch8 is seeking a DevOps Developer to join our team in downtown San
Diego. We are looking for a talented developer to maintain our sites during
off hours,
Not sure if I'm doing something wrong but here's the test:
fit "receives callback" do
expect(subject).to receive(:absentee_reservation_email)
subject.run_callbacks(:commit)
end
it runs with:
after_commit :absentee_reservation_email
and fails with:
after_create_commit
the code quality level up (measurable by something like Code
Climate, for example) and introduce some best practices.
I love the cause, so happy to give back.
You can find me here: https://www.linkedin.com/in/elliottkevin/
<https://www.linkedin.com/in/elliottkevin/>
Best,
Kevin
Kevin E
Hi everyone,
Has anyone successfully used ActiveRecord with ODBC on Rails 4 or 5? I'm
trying to upgrade a legacy system that currently uses a custom Adapter and
am looking to get onto something more standard.
Thanks!
--
You received this message because you are subscribed to the Google
Hi everyone,
I've been struggling with something for a while and was hoping someone who
knows more about me than this would be able to help. I have this gist:
https://gist.github.com/kddeisz/d975ef9a5e45a88bacb03e9f2c1fcf67. I'm
attempting to build in generic callbacks that I can port into a
you see your code go live quickly. There is excellent opportunity for
growth and exposure to Big Data analytics as well as full-stack
development. Please apply directly at: http://tinyurl.com/pj2an2x
Thanks,
Kevin
--
You received this message because you are subscribed to the Google Groups "
or
unicorn.
Did you manage to find an explanation? And maybe a solution? For the moment
we have just restarted the application and everything is back to normal.
Thanks,
Kevin
Le jeudi 20 novembre 2014 15:56:59 UTC, Jason Fleetwood-Boldt a écrit :
Rails-talk,
Last night I got a slew (around 2000
Kevin Lyon
--
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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails
I am also learning nowHave you tried has_secure_password in the User
model.
--
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
of
RMagick as was entered by the user.
Thanks,
Kevin Peterson
--
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+unsubscr...@googlegroups.com
Hi,
We are looking for talented developers for a job in France and who speak
good english ;).
If you feel interested here is the job description ;).
http://railsjob.com/jobs/2654-Lead-Developer-RAILS-Full-stack
Don't hesitate to contact us.
Thanks!
--
Posted via http://www.ruby-forum.com/.
to hack it to actually escape it, so I can see that it's
contest:0x007fba833054e0 /contest:0x007fba833054e0 ? Seems so obvious,
and yet here we are 4 versions in and it isn't done automatically, whine
whine...
Kevin
--
You received this message because you are subscribed to the Google Groups
If you have a moment to fill out this short survey on which templating
engine and css preprocessor you are using (if any), I'm happy to send you
copies of the results.
Thanks!
https://docs.google.com/forms/d/1VPeowjwAtzHvCPiIrZpRro96kU3hPa5Rn920Q1wQtW8/viewform
--
You received this message
Thanks a lot guys! I really appreciate the help. I don't have 1000 users
yet as I am out of work, but this system is something I was inspired by
a work problem, and I hoping it gives me enough experience to maybe get
a junior programming job once I am finished. I was a programmer some
years
*Please excuse my bad typing in the previous post - just getting my
first coffee of the morning before starting learning again and my brain
is still asleep ;)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
checks).
Many thanks for any comments you have on this. It is my first time
creating the model and I have already removed many-many by design in
case someone is wondering why there are no many-many links.
Kevin
Attachments:
http://www.ruby-forum.com/attachment/7826/Base_Classes.jpg
--
Posted
I am just about to finish chapter 7! So many times I have wished I could
grab a chat with another person doing the tutorial, it's a lonely
journey I found ;)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
I assume you're using has_many meetings, through:
attendees on the people, and has_many people, through: attendees on
the meetings, right?
I was wondering if I could do that - so thanks, I will :)
And as Colin and Dave both pointed out, attendance does fit better
than attendee.
As for the
It's my first Rails database, and my first ever relational database for
anything :) I have been reading up on it a lot ;)
--
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,
Thanks Dave - I have put the new diagram up at:
http://www.kevinmccaughey.org/relationships/relationships.html
Is that what you meant? I am musing over it at the moment.
Attachments:
http://www.ruby-forum.com/attachment/7828/Base_Classes.jpg
--
Posted via http://www.ruby-forum.com/.
--
You
Thanks again Dave - I have attached the updated jpeg (I use cloudflare
for my site so I think that is caching it ;)
I am only at Chapter 7 of the Rails Tutorial (Michael Hartl's great
site), but I think chapter 8 should teach me how to do the actual code
for it! I been sort of making my own
Ooops forgot to attach image.
Attachments:
http://www.ruby-forum.com/attachment/7829/Base_Classes.jpg
--
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
What I am wondering though is: if I have 1000 users with about 15
meetings each a week, will it be fast enough? I am running on just 1
linked at present using PostgreSQL.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
on these
skills for Rails developers. I won't call out any of the above
technologies, but we know some are not necessary for proficiency and
others are critical. But we are very curious to the community input.
Thanks
Kevin
kevin (at) codestreak (dot) com
--
Posted via http://www.ruby-forum.com
I'm trying to include capybara into my RSpec integration tests. It seems
to work fine with the Cucumber environment but for some reason it's
giving me issues with the Test environment. Here are the steps I've
followed:
1. Include capybara in the test group of my Gemfile
2. Included require
has been taken way to far, and
teachers need to cover the basics better before showing stuff. I
actually am finding Obie Fernandez book much easier going than the
others now. I picked it up from my pile in the corner last night, where
I had been saving it as advanced.
Regards,
Kevin
are leaving, Capybara's fleeing, with
flotsam and jetsam of cucumbers and (r)spectacles all around...
It just isn't making sense and I cannot seem to pick out any logical
thrust behind the choice of testing methodology.
Many thanks,
Kevin McCaughey
--
Posted via http://www.ruby-forum.com
Are Capybara and cucumber different to Rspec?
--
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
Agreed -
Redis/Resque with 'resque_mailer' is your best bet for that app.
https://github.com/zapnap/resque_mailer
-kevin
On Wed, Jul 11, 2012 at 6:14 AM, Tom Meinlschmidt
to...@meinlschmidt.com wrote:
use resque gem. it works like charm (rails3)
tom
On Jul 11, 2012, at 12:04 , paul h
:
The Boston Ruby Group:
http://bostonrb.org/
July's 'Project Night' - July 3rd at thoughtbot:
http://guestlistapp.com/events/110586
I know there are some Ruby Groups near San Francisco that have similar
monthly meetings/workshops.
-Kevin Bedell
--
You received this message because you
and it's not too bad once you've gotten devise
installed and configured correctly.
-Kevin
On Mon, May 7, 2012 at 8:05 AM, Beau beautr...@gmail.com wrote:
Hey guys.
I'm still a super rails noob, and trying to figure this out in relation to
learning how to write controllers/models and where stuff
This sounds familiar - I think it's a bug and I am nearly sure that I
saw something on it recently. Sorry I can't be more specific :( I think
the reference was in Stack Overflow and there was a link there that took
me to a pull request for a fix, but the fix was for something else as
opposed
I found the solution ! :-)
The problem was that I used acts_as_taggable_on_steroids plugin which
does not work on Rails 3.2 ...
Since Author is the only model which has a :name attribute, I thought
that the problem came from Author ... but the problem was in the Tag
model (which is in the
Hi,
I'm working on a Rails 3.2.2 application which has JSON APIs and I use a
CLI client for inserting some data. It works fine except for the Author
model. When I try to create a new post (Post belongs_to :author and
Author has_many :posts) I get the following error :
h1
Forget blue host. Get an account on heroku and push it there.
If you're going to be a rails developer you need to know how to use github and
heroku. This is a good time for you to learn heroku.
I believe it's free for a single small project.
Sent from my iPhone
On Apr 27, 2012, at 12:45
Even if you have free hosting on a lesser known service, paying even a
small amount is still worth going to heroku. Rails developers need to
understand how to do cloud deployment in general and Heroku is what
most people are using.
Here's a write up from one of the better rails consultancies in
I mean seriously Sergey, complaining about the state of rails
documentation while refusing to contribute to it makes you come across
like an entitled little snit.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send
According to ohloh.net, rails has about 250,000 lines of code, while
Ruby recently eclipsed 1 million lines of code.
http://www.ohloh.net/p/rails
http://www.ohloh.net/p/ruby
On Wed, Apr 25, 2012 at 9:28 AM, Greg Donald gdon...@gmail.com wrote:
On Tue, Apr 24, 2012 at 4:10 PM, Robert
Robert Walker wrote in post #1058190:
If every method, of
every class, were fully documented by the team building Rails then
nothing would ever get done.
This is the perenail excuse - It's too big, so we just won't bother.
I have been learning for a while now, and my journey started with
A more appropriate approach I believe would be to add what you believe
are good comments to one of the files and submit a pull request.
-kevin
On Mon, Apr 23, 2012 at 10:14 AM, Sergey Ezhov li...@ruby-forum.com wrote:
from forum Ruby:
http://api.rubyonrails.org/ - disgusting documentation
Here an example line from one of our scss files:
background: image-url(email_icon.png) no-repeat 0px 4px;
Try that?
On Wed, Apr 11, 2012 at 3:22 PM, Sebastian H. li...@ruby-forum.com wrote:
Hello guys,
I tried to get an image-background working within my page, but I was
wrong...
A better approach I believe is to use redis/resque to queue the emails
to be sent -- and then use resque-scheduler to schedule the jobs to
run whenever you want them to run.
There are a bunch of reasons why redis is a better approach to queuing
work in general, so I'd look into this.
What you
Does anyone have any feedback on Stripe? Thanks for raising this, very
useful.
--
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
I'm writing my first Rails app and I'm stuck at the database level. I have
2 models: User and Mission. They are connected very *unremarkably* like so:
User has_many :missions, dependent: :destroy
Mission belongs_to :user
I would like other users to be able to interact with missions by either:
Here's a good primer on how to do ajax calls using JQuery. These are
the skills you need to do this kind of work.
http://railscasts.com/episodes/136-jquery
The only thing different is I'd recommend writing the javascript in
coffeescript instead.
-Kevin
On Fri, Feb 24, 2012 at 4:44 PM, Dave
If you're boss can't articulate the benefits to you for why he (or
she) wants you to do this -- and they're pushing you to undertake a
technical solution that could make you're development more complex
without understanding the impact of it - then they are an idiot.
Please feel free to tell them I
I appreciate what you're trying to do. I've been a dba in the past and
have built apps using database credentials in the past.
But this is a mistake. They key to being successful with rails is to
leave behind the ways you did things before and embrace 'the rails
way'.
ActiveRecord using a single
What is IIS?
On Tue, Dec 13, 2011 at 12:16 PM, John Doe li...@ruby-forum.com wrote:
Internet references are years out of date and links to downloads broken.
Is Rails on IIS dead?
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
You do not have title column in your database , try generate a migration to add
the missing columns
--
kevin
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Wednesday, November 16, 2011 at 11:12 AM, Scott Sewares wrote:
Hello All,
I am taking a programming class and I am
I think this could be done in user/create like
@user.role = moderator if current_user.admin?
--
kevin
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Thursday, November 3, 2011 at 5:09 PM, newrails user wrote:
moderator
--
You received this message because you are subscribed
is a protected method. It works well in local
development environment but raise an error that can not invoke protected method
while i deployed in production. This is weird, so anybody know about this?
We use pushsion_passenger and nginx in production.
Kevin
--
You received this message because
.
If you experence the same problem, i recommend you there is a plugin/gem that
include
after_commit callback, and make the async work after the db commit.
--
kevin
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Thursday, November 3, 2011 at 5:58 PM, DanC wrote:
I hope someone can
https://github.com/thoughtbot/laptop
This pointer takes you to a project with a couple of scripts that
should setup what you need. It'sa polished and maintained set of
scripts for installing ruby on rails on a mac.
Best of luck!
-kevin
@kbedell
On Mon, Oct 31, 2011 at 5:33 PM, BigC c
, redmine,
capistrano, haml, and many others. (See
http://www.ohloh.net/p?sort=usersq=language%3Aruby )
Anyway, this is just a quick scrape of some stats. There's much more if you
dig around there and other places.
Kevin Bedell
--
Kevin Bedell
Principal, Boston Agile Partners
@kbedell
--
You
David A. Black wrote in post #712598:
Hi --
On Wed, 6 Aug 2008, Shawn .. wrote:
The has/belongs semantics are, indeed, not always a perfect fit for
the way things relate when we describe them in English. For example, I
remember coming up with an example once where I ended up with a Club
Yeah - sorry but you're screwed. Hope the backup is in good shape.
On Wed, Sep 14, 2011 at 7:46 AM, Tim Shaffer timshaf...@me.com wrote:
Restore your database from a backup.
--
You received this message because you are subscribed to the Google Groups
Ruby on Rails: Talk group.
To view this
) this may be a substantial difference. If there are a
few hundred or less rows, it doesn't make that big of a difference.
But in general, I'd say that an approach that limits what's brought
back from the database is probably better.
Kevin Bedell
Boston Agile Partners
@kbedell
--
You received
Hi ,
Presently i am installing rails in my ubuntu system(Ubuntu 10.04.3 LTS)
using following commad
gem install rails -v =3.1.0
When i am trying to install
desk@desk-pc:~$ gem install rails -v =3.1.0
Successfully installed rails-3.0.3
1 gem installed
Installing ri documentation for
Hi Zolzaya,
Thank you for your reply. Presently I am using rvm only
rvm list
rvm rubies
= ruby-1.9.2-p290 [ i386 ]
ruby-1.8.6-p420 [ i386 ]
ruby-1.8.7-p352 [ i386 ]
Here I have rvm also latest version[rvm 1.8.3 ].
I am trying to instal using the ruby version (ruby-1.9.2-p290 [ i386
(for example, role
names or state codes) and loading sample data just used for testing
*for example, fake test accounts).
Hopefully it'll help. There's some sample code in the post.
-Kevin
On Mon, Sep 12, 2011 at 9:33 AM, paulo paul.a.taylo...@gmail.com wrote:
Great - just what I was looking
I have a project I'm coming off of on September 1st, anyone need help
on a project?
I'm in Boston, MA but work remotely a lot of the time for people in
other places.
-Kevin
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
Hi, im new to rails and I got a mind boggling issue.
I have a select form populated with Institutes names e.g University of
Yale. These records are obtained from the Institute ActiveRecord.The
institutes table has a many to many relationships with the course table.
My application should work
Chirag Singhal wrote in post #1017338:
There are few issue in this:
Thanx alot Chirag, let me try out your hints . Will get back to you
--
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
difficult design
decisions - Positive, delivery-focused attitude, and high productivity
* Ability to manage your own projects and tasks, and keep several
balls in the air at once SEO, web usability, and landing page optimization
experience a plus
Thanks Regards,
Kevin M Maxwell
Hi,
first you need to install sqlite3.
In Ubuntu: sudo apt-get install libsqlite3-dev
Second install the sqlite gem
gem install sqlite3-ruby
see here for example
http://stackoverflow.com/questions/2305920/rails-3-can-not-find-sqlite3-ruby
I am not sure if rails 3 works with ruby 1.8.7 but I
:
On Mon, Jun 27, 2011 at 4:16 AM, Kevin def...@googlemail.com wrote:
Hi,
first you need to install sqlite3.
In Ubuntu: sudo apt-get install libsqlite3-dev
Second install the sqlite gem
gem install sqlite3-ruby
see here for example
http://stackoverflow.com/questions/2305920/rails-3-can
I think your issues have to do with your use of the type column and it
triggering rails STI magic. STI is assuming all columns are defined on
the parent and will never attempt to loan column names from the child
tables. I am investigating using native postgres inheritance for a
project I'm working
Google seems to indicate that one may simply mixin (Is that the correct Ruby
terminology.) parts of ActiveModel into any class as one sees fit. For
example:http://yehudakatz.com/2010/01/10/activemodel-make-any-ruby-object-feel-like-activerecord/
If memory about the way inheritance works in
Thanks for the suggestion I will try it and report back.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/YXZpYWczcnpPeHNK.
To post to this group,
Out of curiosity what should one do if one wants to have a method inherited
by all models? Does rails already have a file for adding methods to the
model base class? Or do we just ram our methods into ActiveModel and call
it a day? I have run into almost the opposite scenario as the thread
I'm trying to create a function that will take input in the form a12345678
and output text in the form a12-34-5678 if and only if the input text is *
not* in the form adam smith The goal is to allow my users to enter either
names separated by a space, or the student id number into a single
I have a query I am mapping to a Struct that takes two parameters. What is
the proper method for escaping the parameters to avoid sql injection issues
with sqlite3, when using ActiveRecord::Base.connection.select_all? I have
tried using ? but that does not seem to work at all I get an empty
I'm porting a bunch of sql queries used to generate reports of various
kinds. I have a report controller that has no model and will contain all
the actions that display report results. Where should I stick my wrapper
methods for these queries. I don't like having them stuck right in the
I'm working with a Struct that I mapped from a raw sql query for a
report. I finally get the search page to work and display my results,
however the view when rendered not only displays the expected output;
it also shows the Struct as it would look in the rails console!
my view is as follows:
Removing the entire loop from the calling view seems to have solved
the issue. Thanks everyone.
@Jim I was trying to have the partial render on the same page that the
search was being done on to see whether the output was different on
that page. That code is such a dirty hack as it stands
Hi,
I'm learning RoR and I have a problem with RedCloth.
I have installed it by gem install RedCloth and I have it in my path.
But when I require it, it is not found.
irb(main):001:0 require 'rubygems'
= nil
irb(main):002:0 require 'redcloth'
LoadError: no such file to load -- redcloth
from
By putting
gem 'rubygems'
gem 'redcloth'
in my Gemfile ?
If it is that, it makes my another error :
Could not find gem 'redcloth (= 0, runtime)' in any of the gem sources
listed in your Gemfile.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
well
with one's preferences. That's the reason I moved on from Rails the
last time I tried it.
--
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
--
You received
for the best
rails environment, not the one with the shallowest learning curve.
--
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
--
You received this message because
, :path = Recipe
match 'Recipes' = 'recipes#index', :as = :recipes, :via = :get
I had tried using singular resources before but mistakenly typed
resources instead of resource.
--
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
What's the definition
.
--
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
, the case sensitivity
issue isn't a big deal at all. Using my CamelCase preferences is as
simple as:
scope :path_names = { :new = New, :edit = Edit } do
resources :movies, :path = Movies
end
--
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
What's
On Wed, Apr 27, 2011 at 03:08:50PM -0500, Kevin Monceaux wrote:
In that context, which of:
/Recipes/Beef-Brisket
/Recipe/Beef-Brisket
After sending my last reply, I thought of another way of looking at
the above URLs. Using slugs and Rails plural default, and my
CamelCase preferences
This is a copy/paste from my question over at
StackOverflowhttp://stackoverflow.com/questions/5750963/implementing-a-tagging-system-in-railsso
feel free to answer there if you want some reputation.
I'm trying to implement a tagging system in a Rails app similar to the one
StackOverflow uses
I don't think this is true. According to the Rails
APIhttp://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#M000645,
this is what collection.delete does with a has_and_belongs_to_many
association:
Removes one or more objects from the collection by removing their
Just to be sure though, I've changed that line to be:
tags.clear
This seems cleaner anyways, and the Rails API explicitly states that calling
this will not delete the objects themselves, only the association.
--
You received this message because you are subscribed to the Google Groups Ruby
Hi everyone,
Using the wonderful Sinatra to create a RESTful Web service. What I want
to do is:
1 receive a POST and return a JSON response.
2 after a short period send a POST to a URL provided in a callback
param during 1 above
So far I can receive the client's POST and eithr return a JSON
to have _url
for all my navigation due to the one http map page, please, let me know.
Kevin
Madhav V. wrote in post #969656:
How would it save headaches in case of https?.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
Hi Fred,
It does not help in my case.
Kevin Owocki http://www.owocki.com
co-founder lead developer at ignighter http://www.ignighter.com/
_
find me on twitter http://www.twitter.com/owocki,
facebookhttp://www.facebook.com/kevinowocki,
linkedin http
version, do
'gem install activesupport -v 2.3.8'
(change 2.3.8 to required version)
Kevin Owocki http://www.owocki.com
co-founder lead developer at ignighter http://www.ignighter.com/
_
find me on twitter http://www.twitter.com/owocki,
facebookhttp
(Final)
[]# ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
[]# rails -v
Rails 3.0.5
[]# passenger -v
Phusion Passenger version 3.0.4
[]# gem -v
1.6.0
Kevin Owocki http://www.owocki.com
co-founder lead developer at ignighter http://www.ignighter.com
I am struggling to understand and find resource to learn what parameter,
if that is the right word, can be inside the brackets in the page
statement for visual effect, i.e.
page[comment...@comment.id}].visual_effect :shake,
:duration = 6.5
From what I have seen through web searches it
we designed our webtool for sending bulk sms within india using ruby on
rails.
Dear All,
Greetings from Indsms,
We INDSMS being most trusted entity by our customers, are offering
BULKSMS at quality routes with Best rates.We are providing shortcode and
long code .
To test our service , register
I just fixed this problem. I had ruby 1.9.2 preview 1, removed it, and
installed preview 3. Everything worked fine afterward.
--
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
Kevin Hastie wrote:
Kevin Hastie wrote:
I guess what I really want is something like this:
class Address ActiveRecord::Base
belongs_to :addressable, :polymorphic = true
end
class Business ActiveRecord::Base
has_one :address, :as = :addressable
end
class School ActiveRecord
First, I am very new to ruby and rails. Searching for references is
really tough, and so I've finally come here.
I'm trying to create a scaffold. Let's say a Business and a School both
can have a single Address (not shared). In a different case, an Offer
has an OfferType (with just a type_id
Kevin Hastie wrote:
a) Am I doing this right?
Apparently not.
Weird. Is it because I didn't do polymorphic anywhere that Address now
has a business_id, a credit_card_id and a user_id? Obviously this is no
good - I'd prefer the Business table to have an address_id, etc So:
e) Did I do
Kevin Hastie wrote:
I guess what I really want is something like this:
class Address ActiveRecord::Base
belongs_to :addressable, :polymorphic = true
end
class Business ActiveRecord::Base
has_one :address, :as = :addressable
end
class School ActiveRecord::Base
has_one :address
1 - 100 of 173 matches
Mail list logo