Displaying 20 results from an estimated 3000 matches similar to: "dynamic searchable fields, best practice?"
2010 Feb 04
6
Fastes database server for...
Hi,
I''m currently building a small rails application that needs to store web
traffic information. Similar to google analytics and clicky. (but
simpler) It needs to store refer domains and visitors. Integration goes
through a small javascript snippet.
My question is: What database server is the fastest and should I use for
this app?
I was thinking about SQLlite.
Thanks for your time,
2010 Jan 25
3
Dynamic attributes!
I want to create a general model ''Product'' that I will be able to
store several attributes in it.
For example the attributes
:id
:name
:description
are pretty stantard. So each product will have this attributes.
However, I wanted to know if it is possible to create dynamic
attributes.
In the case of a cell phone device I might want to store the IMEI of
the phone, this
2010 Nov 06
1
Hashing and environments
Hi,
I'm trying to write a general-purpose "lexicon" class and associated methods for storing and accessing information about large numbers of specific words (e.g., their frequencies in different genres). Crucial to making such a class practically useful is to get hashing working correctly so that information about specific words can be accessed quickly. But I've never really
2010 Nov 09
6
Upgrading to snow leopard
Hi All,
I''m currently mid-project at the moment, and am scepticle in upgrading
to Snow Leopard.
If I do, will it affect my current Ruby on Rails set up on my
machine??
Cheers
--
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
2010 Oct 13
1
rails 3 with mongodb
Hi.
I would like to configure a application in ruby 1.9.2 + rails 3 +
mongodb on windows vista.
I know it''s work better in linux ou mac, but in my job i need to use
win.
I folowed the steps from the site of mongodb, but when i run the
bundle install, there comes
this message below.
Someone can help me with this.
Thanks.
<internal:lib/rubygems/custom_require>:29:in
2011 Jan 10
8
Creating a Dynamic/Custom form
I am pretty new at rails and seem to be stuck on an issue.
Trying to find a way to get me app admin to create a form on our rails
app. These would include:
- Select form control type
- Select required validation
- Select price change if selected
How should I even start going at this?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2010 Apr 26
11
Rails I18n
I was just wondering about locales and .yml files. Is it better to
store the multilanguage strings in .yml files than in databases? And
if yes, why?
I was also wondering how rails are loading this files (for example, I
have 4 languages in my web app, each has her own .yml file, will my
rails app loads all the files in ram and then it will call each
variable inside my web app? Or something else?)
2010 Oct 06
16
Dealing with an EAV database
I''ve inherited an EAV database and there''s really no option to remodel
it. Data is stored as key_name, key_value pairs
Trying to return a meaningful, unified recordset is far too complex to
be efficient.
I''ve decided to make use of the MySQL GROUP_CONCAT, and CONCAT_WS
functions to return a fast query result, with the consolidated fields
as one string.
The final data is
2013 Aug 13
2
[LLVMdev] Are integer types primitive?
On Aug 12, 2013, at 2:15 PM, Chandler Carruth <chandlerc at google.com> wrote:
> Originally, the distinguishing feature of "primitive" types was that they were enumerable and not parameterized on anything.
Right.
> Then we moved to arbitrary bit-width integers types to generalize things significantly (the right move IMO).
Right.
> Thus, integers were no longer
2013 Dec 07
2
[LLVMdev] Are integer types primitive?
On Dec 6, 2013, at 6:37 PM, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>> What purpose does the notion of "primitive" types serve anymore? Why don't we just abolish that from the lexicon and from the code?
>
> Hi Chris,
>
> The attached patch removes it from Type.h and updates the last users.
> Is that what you were looking for?
Yep, LGTM.
2009 Oct 27
5
Re-tasking destroy contoller action...is this bad practice?
I''m trying to get some opinions on a design I''m floating ("rails way"
or not?). Say I''ve got an Author model in my Blog application and I
want my administrators to be able to disable authors. I don''t want to
delete authors because this would cause data integrity issues
(orphaned Author foreign key in the Post model). So my plan is to re-
task the
2010 Jan 25
15
database design question: building features
I am trying to decide between two different database architectures for
an application to manage properties. For capturing the property
features, I have two options: a single model/table with all the features
as fields, or a set of joined models - property, feature, feature data.
(see attached ERD diagram)
OPTION A
Properties
name
address
has_pool
has_doorman
has_etc. (a bunch of values, not all
2009 Mar 10
5
'unknow column error' when using include and associated table condition in find
Here is my weird problem.
Two models like following:
Lexeme
id:int
name:string
Structure
id:int
ref_id:string
meta_id:int
Lexeme can have many structure records through foreign key ''ref_id'' in
the structures table.
And these structure records belonging to one lexeme differs between
each other using meta_id.
And if Lexeme has structures, then there must be a top_struct whose
2015 Feb 02
2
[LLVMdev] LLVM Weekly - #57, Feb 2nd 2015
LLVM Weekly - #57, Feb 2nd 2015
===============================
If you prefer, you can read a HTML version of this email at
<http://llvmweekly.org/issue/57>.
Welcome to the fifty-seventh issue of LLVM Weekly, a weekly newsletter
(published every Monday) covering developments in LLVM, Clang, and related
projects. LLVM Weekly is brought to you by [Alex
Bradbury](http://asbradbury.org).
2013 Dec 07
0
[LLVMdev] Are integer types primitive?
> What purpose does the notion of "primitive" types serve anymore? Why don't we just abolish that from the lexicon and from the code?
Hi Chris,
The attached patch removes it from Type.h and updates the last users.
Is that what you were looking for?
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type:
2013 Dec 07
0
[LLVMdev] Are integer types primitive?
On 7 December 2013 12:55, Chris Lattner <clattner at apple.com> wrote:
>
> On Dec 6, 2013, at 6:37 PM, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>
>>> What purpose does the notion of "primitive" types serve anymore? Why don't we just abolish that from the lexicon and from the code?
>>
>> Hi Chris,
>>
>> The attached
2008 Nov 06
4
[LLVMdev] Available code-generation parallelism
On Mon, 2008-11-03 at 23:59 -0800, Chris Lattner wrote:
> On Nov 3, 2008, at 3:55 PM, heisenbug wrote:
> > What about "inventing" pseudo-constants (which point to the right
> > thing) and build the piece of IR with them. When done, grab mutex and
> > RAUW it in. Alternatively, submit to a privileged thread that performs
> > the RAUW.
> > The trick is to
2009 Jun 22
5
has_many through , or habtm , using form
i think there ara two ways of relate products and categories ,
basically i want to fix one product(e.g hp dv7....) to some categories
(notebook,17"notebooks...)
i made a table named categorization(incuding category_id,product_id
fields) then in models i write these codes below
class Product < ActiveRecord::Base
has_many :categories, :through => :categorizations
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi:
I am using authlogic, and following railscast tutorial. I am running
into this error code with the password confirmation.
authlogic password confirmation is too short
Has anyone experienced this error? I need your help.
Thanks in advance for your help.
2009 Aug 19
10
acts_as_list / acts_as_tree / acts_as_nested_set - which one
I am creating forum application which needs usage of acts_as_list or
acts_as_tree or acts_as_nested_set.
I am unable to decide among these. please could some one recommend from
their experience?
--
Posted via http://www.ruby-forum.com/.